This is a test project for interview
if i had enough time i would do this:
- single commit for every change in code (also a single commit for single file)
- a full set of test
- dockerized project
- fix some OpenAPI misunderstanding for swagger documentation (@extend_schema feature)
- doc string for every method and class
Step 1 : create a new virtualenv and install requirements.
$ pip install -r requirements.txt
Note : You can use db.sqlight
. it has some data on it for testing. this data includes:
- a
admin
user [pass: admin] - a
user1
user [pass: 1234] - a
user2
user [pass: 1234]
also some articles and scores.
I use drf-spectacular
for documentation. You can use this or this
to see the doc. or you can use postman collection in doc
directory.