https://github.com/phalt/cookiecutter-django-api
A cookiecutter template for a basic Django Web API project.
https://github.com/phalt/cookiecutter-django-api
Last synced: 9 months ago
JSON representation
A cookiecutter template for a basic Django Web API project.
- Host: GitHub
- URL: https://github.com/phalt/cookiecutter-django-api
- Owner: phalt
- License: other
- Created: 2015-04-04T11:09:44.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-21T15:39:59.000Z (about 10 years ago)
- Last Synced: 2024-10-12T13:33:00.526Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 15
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cookiecutter-django-api
This provides a cookiecutter template for a Django API project.
Featuring:
- Django 1.8
- Django REST Framework 3.1
## Installation:
- Install [cookiecutter](https://cookiecutter.rtfd.org).
- Use cookiecutter to make a copy:
```
$ cookiecutter https://github.com/phalt/cookiecutter-django-api.git
project_name (default is 'project_name'):
```
- Set things up:
```
cd project_name
make install
```
- Write your models in resources/models.
- Generate and setup your models:
```
make build
```
- Run the server!
```
make serve
```
From here, you can work on the project, create a git repository and push your changes to GitHub. The project is set up to work with Heroku automatically, see [Heroku's guide on creating Django projects](https://devcenter.heroku.com/articles/getting-started-with-django) to get your started.