This is a basic CRUD Api created with the Django-Ninja package.
- To run this program, please run:
pip install -r requirements.txt
- Once all the packages are installed,
cd..
into 'apidemo'
cd apidemo
-
Create a
.env
file and add your postgres database connection details to the.env
file. -
Run
./manage.py runserver
orpython manage.py runserver
to start your program in localhost. -
Open the link
(CTRL + click)
provided in your terminal and add/api/docs
to open the Swagger UI to test all the endpoints in this api.