This is a very simplistic API utilizing django and djangorestframework.
- Create a abstract user model.
- Create a location model.
- Create a user serializer.
- Create a location serializer.
- Create a viewset for each serializer.
- Create a default router with each viewset given a route.
- Give you a basic understanding of how django works.
- Basic understanding of API's.
- Create an API client for both Users and Location.
- Create permissions so only certain people can view users, or create users.
- Connect to a different database besides SQLite
Run the following commands
py -m "pip" install virtualenv
virtualenv myapp
cd myapp
Scripts\activate
pip install django djangorestframework django-cors-headers
git clone https://github.com/polarpop/example-django-rest example
cd example
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata initial
python manage.py runserver