Skip to content

jgmartinss/django-rest-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Rest Boilerplate

Boilerplate using Django 2 and Django REST Framework.

Project Structure


. yourprojectname
├── config
│   ├── __init__.py
│   ├── environment.py
│   ├── routes.py
│   ├── settings
│   │   ├── __init__.py
│   │   ├── base.py
│   │   ├── development.py
│   │   └── production.py
│   ├── urls.py
│   └── wsgi.py
├── contrib
│   └── env_gen.py
└── v1
├── apps
│   ├── accounts
│   │   ├── __init__.py
│   │   ├── migrations
│   │   │   └── __init__.py
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── managers.py
│   │   ├── models.py
│   │   ├── serializer.py
│   │   ├── signals.py
│   │   └── views.py
│   └── __init__.py
└── __init__.py
├── Makefile
├── manage.py
├── Pipfile
├── Pipfile.lock
├── README.md
├── requirements.txt
├── setup.py
├── tox.ini

Let's use!

Cloning the repository in your virtualenv:

$ cd your-virtualenv

$ source bin/activate

$ git clone https://github.com/jgmartinss/django-rest-boilerplate.git yourprojectname

Install required packages:

$ cd yourprojectname

$ make install

Initialize project:

$ make setup