Skip to content

wienerdeming/django-example

Repository files navigation

Django example Service

Tech

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

Installation

Project

$ 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

Postgres

$ su postgres
$ psql
postgres=# CREATE DATABASE mydb;

Run test

$ python manage.py test

Run

$ python manage.py runserver

Documentation

Api http://localhost:8000/docs/ also you can find docs in this link

About

Boilerplate for django project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published