Skip to content

Web application that curates problems that are faced by students and the possible solutions to these problems.

Notifications You must be signed in to change notification settings

Ebenezr/Helpdesk-api

Repository files navigation

Help Desk

Authors

Cecilia Anyega
Allan Ngoma
Alice Auko
Lewis Mwendwa
Karugo Murage
Ebenezar Bukosia

Project Description


Screen shots

landing page

image

home page

image

ask question page

image

profiles page

image

Table of content


Technologies

--- Ruby on Rails

--- HTML and CSS

--- JavaScript (React)

--- PostgreSQL

--- Heroku (deployment)

--- Git and GitHub (version control)

--- Minitest (testing)

--- Jest (testing)


Features

--- The features of a HelpDesk web application that allows students to post questions and provide solutions to other questions are as follows:

-- The application allows students to post questions and provide solutions to other questions in a forum-like setting.

-- The application includes a search function that allows students to search for specific questions or topics.

-- The application allows students to up-vote or down-vote questions and solutions, providing a way for the community to rate the usefulness of questions and solutions.

-- The application allows students to comment on questions and solutions, providing a way for the community to provide feedback.


description

--- The HelpDesk web application is a great way for students to get help with their studies.

-- By posting questions and providing solutions to other questions, students can help each other out and learn from each other.

-- This application is a great resource for students who are struggling with a particular subject.

-- By being able to see what other students are asking, they can get a better understanding of the material.

-- Additionally, by providing solutions to other students' questions, they can deepen their own understanding of the subject matter.


How to set up and run the project


Requirements

--- the following are the requirements for the project

-- Ruby 2.3.3 or later.

-- Rails 5.0 or later.

-- PostgreSQL 9.5 or later.

-- npm

-- node


Dependencies

  • rails
  • ruby
  • node
  • npm

setup


Client (React)

clone the repo using the command

git clone [email protected]:Ebenezr/Helpdesk.git

change directory using command

cd Helpdesk

open project in vscode texteditor

code .

install dependancies

npm install

run front end

npm run dev

API (Ruby on Rails)

clone the repo using the command

git clone [email protected]:Ebenezr/Helpdesk-api.git

change directory using command

cd Helpdesk-api

open project in vscode texteditor

code .

Check your Ruby version

ruby -v

The ouput should start with something like ruby 2.5.1

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 2.7.0

install dependancies packages

bundle install

Initialize the database

rails db:create db:migrate db:seed

run api server

rails s

How to use the project

--- To use the project follow the steps below:

-- First sign up to the application.

-- Then you can post a question.

-- You can also give a solution to a question.

-- You can also comment on a question.

-- You can also up-vote or down-vote a question.

-- You can also search for a question.

Contributing to project

  • Fork the repo
  • Create a new branch in your terminal (git checkout -b improve-feature)
  • Install the prerequisites
  • Make appropriate changes in file(s)
  • Run the server to see the changes
  • Add the changes and commit them (git commit -am "Improve App")
  • Push to the branch (git push origin improve-app)
  • Create a Pull request

Copyright

--- This project is licensed under the MIT License - see the LICENSE.md file for details.


MIT License Copyright (c) 2022

About

Web application that curates problems that are faced by students and the possible solutions to these problems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •