Free Mentors is a social initiative where accomplished professionals become role models to young people to provide free mentorship sessions.
These are steps that should be followed by anyone who want toget a copy of project
The project is composed of two different sections:
- User Interface
- API
-
User intrface
-
Any Web Browser (We recommend using Google Chrome)
-
Text Editor (VSCode is highly recommende)
-
User inteface login credential for mentor and admin
- Email :[email protected]
- password :admin
- Email :[email protected]
- password :mentor
-
-
API Endpoints
- Node JS
- Postman
- Required Features
- Users can sign up.
- Users can sign in.
- Admin can change a user to a mentor.
- Users can view mentors.
- Users can view a specific mentor.
- Users can create a mentorship session request with a mentor.
- A mentor can accept a mentorship session request.
- A mentor can decline a mentorship session request.
- Optional Features
- Users can view all their mentorship sessions.
- Users can review a mentor after a mentorship session.
- Admin can delete a review deemed as inappropriate.
-
Required API
- POST /auth/signup
- POST /auth/signin
- PATCH /user/:userId
- GET /mentors
- GET/mentors/:mentorId
- POST/sessions
- PATCH /sessions/:sessionId/accept
- PATCH /sessions/:sessionId/reject
-
Optional
- GET /sessions
- POST /sessions/:sessionId/review
- DELETE /sessions/:sessionId/review
-
use git bash:
- First download git bash
- Install it
- Clone it by running
git clone https://github.com/ngirimana/Free-Mentors.git
- Find the project directory from where you are tunning the git bash.
1.For running the api
- First download and install Node JS
- Download and install Postman
- Clone the project. free-mentors
- Run
npm install
(sudo apt install
for linux users) command for installing all project dependencies
- Open command prompt
- navigate to the directory of cloned project
- Run the automated test by running
npm run test
command
- Just run
index.html
from the cloned project - OR simply use gh-page to run Free-Mentors UI
- Server
-
User interface
- CSS
- HTML
- JS
LICENCE - LICENSE