Skip to content

Kaleb-Abiy/mentors

Repository files navigation

Mentorship API

This API connects users with mentor. It is developed using Django rest framework. You can find the api [here]([https://web-production-b715.up.railway.app/api/schema/docs/].

Basic Features

  • Custom User model and authentication using email and password.
  • JWT authentication.
  • Mentors List, detail endpoint.
  • Search functionality based on skills and hourly rate.
  • email verfication
  • Documentation using drf_spectacular which support OAS3.
  • Frontend is built using React.js and can be found here.

Quick Start

To get this project up and running locally on your computer follow the following steps.

  1. Clone this repository to your local machine.
  2. Create a python virtual environment and activate it.
  3. Open up your terminal and run the following command to install the packages used in this project.
$ pip install -r requirements.txt
  1. Set up a Postgres database for the project.
  2. Rename the .env.example file found in the root directory of the project to .env and update the environment variables accordingly.
  3. Run the following commands to setup the database tables and create a super user.
$ python manage.py migrate
$ python manage.py createsuperuser
  1. Run the development server using:
$ python manage.py runserver
  1. Open a browser and go to http://localhost:8000/.

License

Usage is provided under the MIT License. See LICENSE for the full details.