Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 590 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 590 Bytes

Organizations API

API repository for organizations project.

Up and running

  1. Create PostgreSQL user and database. Copy file .env.dist to .env and edit database connection.
  2. Setup virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
  1. Apply migrations ./manage.py migrate
  2. Check unit tests is work ./manage.py test -k
  3. Run development server ./manage.py runserver, test your live api http://localhost:8000/v1/.
  4. Read API documentations on http://localhost:8000/v1/docs.