Skip to content

uche-wealth/jobz-api

Repository files navigation

JOBZ API

This work exposes endpoints for job listings and integrates JWT authentication

Getting Started

  1. Clone the repository
git clone https://github.com/journpy/jobz-api.git
  1. Install project dependencies
pip install -r requirements.txt
  1. Get and set environment variables in a .env file. Look at .env.example for a sample of this

  2. Run migrations

python manage.py migrate
  1. Create a superuser account
python manage.py createsuperuser
  1. Optionally Sign up for a user account.
/api/auth/registration/

Email authentication is used with JWT.

  1. Login to use the app
/api/auth/login/

This should spit out access and refresh tokens.

  1. Load jobs to database
python manage.py loadjobs
  1. Spin up the development server
python manage.py runserver
  1. Find Endpoints on Swagger UI
/swagger-ui/
  1. Homepage for easy access http://127.0.0.1:8000/

Contact the Author

Please find my email here or visit my website.