- Install Python3.7 and pipenv (for MacOS)
brew install python3
`brew install pipenv`
-
Clone the Repo and
cd
into the directory -
Setup virtual environment for this project
pipenv shell
-
Install all dependencies
pipenv install
-
Copy
.env.template
to.env
and modify the various settings as per your system credentials
invoke rs
- go to
localhost:8000/
- Used Swagger to list all the APIs and their request and response bodies
- Local API Docs at http://localhost:8000/docs
repos
for any DB interactionmodels
for defining DB Table structureserializers
for request/response validationinteractors
for any Business Logicviews
for defining API handlers and processing Request/Responseurls
for routing request to given view method
- Using Django Rest Framework for providing crisp and thin API layers
- Followed Interactor/Repo pattern