Bookstore api using django
First of all. Be Sure to clone the .env.example, rename it to .env and fill it with real data
-
Build docker database
docker compose up --build -
create and activate a venv using
python -m venv venvsource env/bin/activate -
Install project dependencies
pip install -r requirements.txt -
Run the migrations
python manage.py migrate -
Seed the database
python manage.py loaddata fixtures/* -
Create your development user
python manage.py createsuperuser -
Execute the dev server with
python manage.py runserver
The admin will be available at localhost:8000/
The api will be available at localhost:8000/bff/
Access the ER Diagram