A REST api written in Django for people with deadlines
- Django: The web framework for perfectionists with deadlines (Django builds better web apps with less code).
- DRF: A powerful and flexible toolkit for building Web APIs
- 
If you wish to run your own build, first ensure you have Python and Heroku globally installed in your computer. If not, you can get python here and Heroku here. 
- 
After doing this, confirm that you have installed virtualenv globally as well. If not, run this: $ pip install virtualenv 
- 
Then, Git clone this repo to your PC $ git clone https://github.com/gitgik/django-rest-api.git 
- 
- Cd into your the cloned repo as such:
$ cd django-heroku-rest-api
- Create and fire up your virtual environment:
$ virtualenv venv -p python3 $ source venv/bin/activate
- Install the dependencies needed to run the app:
$ pip install -r requirements.txt 
- Make those migrations work
$ python manage.py makemigrations $ python manage.py migrate $ python manage.py createsuperuser
- Run It
 $ python manage.py runserver - 
Test it Locally 
- 
Time to go remote! 
 $ heroku login $ heroku create project $ git push heroku master $ heroku run python manage.py migrate $ heroku run python manage.py createsuperuser Your project should now be live at: https://heroku_project_name.herokuapp.com/users/ If you want to set your own project to support Heroku here is a detailed explanation: https://gist.github.com/agusalex/70146cb09381c0adc4b3a2f68d035cfa 
- Cd into your the cloned repo as such: