https://github.com/argyleink/django-rest-framework-seed
Quick start for a Django-Rest-Framework project
https://github.com/argyleink/django-rest-framework-seed
Last synced: about 1 year ago
JSON representation
Quick start for a Django-Rest-Framework project
- Host: GitHub
- URL: https://github.com/argyleink/django-rest-framework-seed
- Owner: argyleink
- Created: 2013-08-04T19:11:38.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-04T19:40:18.000Z (almost 13 years ago)
- Last Synced: 2025-04-02T13:30:40.269Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
django-rest-framework-seed
==========================
Start your Django API in seconds with this Django Rest Framework seed.
***
#### REQUIREMENTS:
- git
- python
- pip
- linux command line
#### If you are looking to save a little time on starting your app, here is a working start with one example model, fully functioning User model, and token authentication.
## Setup:
1. Clone down the repository, and cd into directory
- `git clone https://github.com/zackargyle/django-rest-framework-seed.git && cd django-rest-framework-seed/`
2. Run: `sh setup.sh`
- Set up username/password
- If setup.sh doesn't fully automate your setup, open setup.sh and run commands individually
3. Visit localhost:8000/admin
- Provide superuser username/password
#### There you have it! You have a simple, working API!
Feel free to comment on anything you see.
### NOTES:
- You may have to include python version: `python2.7 manage.py syncdb`
- Check out this [tutorial](http://www.jeffknupp.com/blog/2012/10/24/starting-a-django-14-project-the-right-way/) if you have never started a django app before.
- I highly suggest using a virtualenv as to not mess with in-built dependencies
- It would be a great idea to create a requirements.txt file to document your south,
django, and djangorestframework versions