Skip to content

BurnerB/FreeMentors-V2

Repository files navigation

FreeMentors-V2

Build Status Maintainability Coverage Status

Free Mentors is a social initiative where accomplished professionals become role models to young people to provide free mentorship sessions.

Endpoints covered

Method Endpoint Description
POST /auth/signup User create an account
POST /auth/login User login to their account
PATCH /user/<:mentor-id> Admin make a user a mentor
GET /mentors Get all mentors
GET /mentors/<:mentor-id> User get a specific mentor
POST /sessions A User can request a session
PATCH /sessions/<:user-id>/accept Mentor can accept a session
PATCH /sessions/<:user-id>/decline Mentor can decline a session
GET /sessions User or Mentor get all sessions

Tech/frameworks Used

  • Language: Javascript
  • Server environment: Node.js
  • Back-end framework: Express
  • Testing library: Mocha.js
  • Assertion library: Chai

Github-Pages Link

Click here to access the Github-pages-link

Pivotal Tracker story board

Click here to access the Pivotal tracker board

Documentation

Click here to access the Documentation

Getting Started

Setting up your system

Make sure you already have Node.js installed in your system..

How to get started

Clone this repository by running the following on your terminal git clone https://github.com/BurnerB/FreeMentors-V2.git After cloning this repository to your local machine,cd into the package folder using your terminal and run the following:

> npm install It will install the node_modules which will help you run the project on your local machine.

Create a .env file to store environment variables e.g PORT=5000 JWT_KEY=imAsecret

Run the server

npm start this will start your application and run on port 5000

Run the tests

npm test

License

BurnerB/FreeMentors-V2 is licensed under the GNU General Public License v3.0

MIT © Barnaby Kamau

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published