Simple DRF based boilerplate for quick bootstrapping of API applications.
This project contains base skeleton of application based on the DRF/Django/Postgres.
It can be used as standalone API, backend for single-page or mobile app.
- Clone this repository and change current directory to its root
- Create virtualenv:
python3.7 -m venv --prompt="(drf)" venv
- Activate it:
source venv/bin/activate
- Install requirements:
pip install -r ./requirements/base.txt
- Create user and database. I'm assuming that you'll use Postgres for this.
- Run migrations:
python manage.py migrate
- Run server:
python manage.py runserver
- Open your browser at
http://localhost:8000