Skip to content

Diaga/django-api-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-api-template

Build Status

Template for creating robust APIs with django rest framework!

This template contains configured Dockerfile, docker-compose and .travis.yml files.

Project Structure

All models are placed in models.py file in 'app' folder along with unit tests.

All unit tests are placed in the 'tests' folder inside each app.

Each section of the API is allotted its own app inside django.

Setup

Update requirements.txt file with latest versions of libraries.

Set suitable user & password for database in docker-compose file.

Commands

  • Start new app:
    python manage.py template_startapp <app_name>
  • Run unit tests:
    python manage.py test && flake8

ToDo

Add commands to easily create customized user

About

Template for creating robust APIs with django rest framework!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published