Django-Rest-Template!
This is a basic starter template for a backend project with Django as the server and PostgreSQL as the database.
About the template
- PostgreSQL used as the primary database.
- Superuser is already initialized with the credentials: Username-
admin
, Email-[email protected]
, Password-admin
- Integration with Django Rest Framework
- Integrated Djoser for user register/login/logout workflows.
- Used JWT for Authentication.
- API Documentation is configured using swagger.
- Containerized using Docker and managed using docker-compose.
Getting Started
To get a local copy of this template up and running on your machine, follow these simple steps.
Prerequisites
- Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Installation
- Clone the repo
git clonehttps://github.com/akshat2602/django-rest-template.git
- Change the current directory to the template
cd django-rest-template
- Build the docker containers
docker-compose build
- Run the docker containers
docker-compose up
API Documentation
API documentation is done using swagger. Visit /swagger
for API documentation.
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Akshat Sharma - [email protected] Project Link: https://github.com/akshat2602/django-rest-template