A bare minimum interviewer scheduler REST backend.
Scheduler has postgres based rest backend for demonstration purposes. There is one endpoint that is public with 2 methods and forms bulk of its capablities.
A lot of work can be done via the django admin so that we don't have to rebuild the wheel
- Clone the project
- Run the migrations
- For ease of use a set of users and user profiles are given as fixtures
load them using
loaddata
- For information about api. The endpoint docs are given in the
api/v1/docs.md
- To access the api you will need authentication token , to generate it use
python manage.py drf_create_token <username>
[to get user name use the django admin. ] - Admin: username: admin password: admin
For now there are no api for registering or login. Everything can be done via the admin Admin can be used heavily for administation purposes and easy access to slots
- Login to the admin
- Go to the User model and create a user
- You must also create a user profile [this marks the user as candidate or interview] We have it as a seperate model for extension purposes
- Create tokens from Django Admin Auth Tokens
- Slots can be seen in the Slot model
- Install docker-compose up
docker-compose up
this will bring the application up. We are using this here because we have to connect to postgress- The migrations and fixture loading are done by default so you dont have to
- You should be able to login to the admin http://127.0.0.1:8080/