git clone [email protected]:NorthOC/book-dashboard.git
cd book-dashboard
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py runserver
git clone [email protected]:NorthOC/book-dashboard.git
cd book-dashboard\
python3 -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
python manage.py runserver
The front-end is built with Django templates and the API with DRF. Calls to the database, from the front-end, are done via microservices to the API.
core/
- project files.api/
- containsBookViewSet
, serializers and JWT token endpoints. Files to look at:views.py
,urls.py
andserializers.py
backend/
- models. Files to look at:models.py
.frontend/
- routing, views, forms and templates. Look at:urls.py
,views.py
andtemplates/
.frontend/services.py
- functions to handle api calls.
There's a dummy database to save you some time. Feel free to make your own items and users.
admin username: admin
admin password: 123
user username: denis
user username: 123qwe123