WIP
A Production ready Django API app starter pack.
This is a template using Django Rest Framework and some basic CRUD configurations.
This is made with the aim of creating a new application faster, allowing to focus directly on the core of the new project and not waste unnecessary time setting up tedious code.
Usage | Name | Version |
---|---|---|
Framework | Django | 4.2.2 |
Language | Python | 3.11.0 |
- src
- my_app
- views
- base_views.py
- my_views.py
- admin.py
- models.py
- permissions.py
- serializers.py
- services.py
- tests.py
- urls.py
- views
- my_project
- asgi.py
- settings.py
- urls.py
- wsgi.py
- my_app
- requirements.txt
- My collection.postman_collection.json
- Clone the repo
git clone https://github.com/Zararthustra/Starter-pack_Django
- Install dependencies
pip install -r requirements.txt
- Make database migration (in
src
)
python manage.py makemigrations my_app
python manage.py migrate
- Run tests (in
src
)
python manage.py test my_app --verbosity=2
- Run server (in
src
)
python manage.py runserver 0.0.0.0:8000