- Clone the repository
git clone https://github.com/journpy/jobz-api.git
- Install project dependencies
pip install -r requirements.txt
-
Get and set environment variables in a .env file. Look at
.env.examplefor a sample of this -
Run migrations
python manage.py migrate
- Create a superuser account
python manage.py createsuperuser
- Optionally Sign up for a user account.
/api/auth/registration/
Email authentication is used with JWT.
- Login to use the app
/api/auth/login/
This should spit out access and refresh tokens.
- Load jobs to database
python manage.py loadjobs
- Spin up the development server
python manage.py runserver
- Find Endpoints on Swagger UI
/swagger-ui/
- Homepage for easy access http://127.0.0.1:8000/
Please find my email here or visit my website.