Requirements:
- Python +3.5 - Python object oriented programming language
- PostgreSQL +10 - Open source object-relational database system
We use:
- Django - is a high-level Python Web framework
- Django REST framework - Django REST framework is a powerful and flexible toolkit for building Web APIs
$ mkdir myproject && cd myproject
$ git clone https://github.com/wienerdeming/django-example.git .
$ virtualenv -p /usr/bin/python3 .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python manage.py migrate
$ su postgres
$ psql
postgres=# CREATE DATABASE mydb;
$ python manage.py test
$ python manage.py runserver
Api http://localhost:8000/docs/ also you can find docs in this link