This is a Django project that can be easily extended to meet your needs. It uses Docker and PostgreSQL for easy development and deployment.
- Dockerized development and deployment
- PostgreSQL database
- Swagger and Redoc documentation
- Silky for API performance monitoring
- Unit tests
- Modular organization
- Clone this repository to your computer
- Navigate to the project directory
- Copy the
.env.example
file to.env
and fill in the environment variables - Start the server with the command
make
.
│── backend (main folder)
│ │── models (database models)
│ │── views (views for the API)
│ │── serializers (serializers for the API)
│ │── services (modular service functions)
│ │── repositories (database queries)
│ │── tests (unit tests)
│ └── urls.py (API routes)
└── Makefile (make commands)
The API is documented with Redoc. You can access the Redoc UI at http://0.0.0.0:8000/redoc/
.
The API is documented with Swagger. You can access the Swagger UI at http://0.0.0.0:8000/swagger/
.
Silky is used to monitor API performance. You can access the Silky UI at http://0.0.0.0:8000/silk/
.
You can run the unit tests with the command make test
.