Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 720 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 720 Bytes

Django Rest Framework

This is a DRF project including database core, unit test and docker.


Prerequisites

  • Python=>3.10

Considerations

Requests to the API in Curl and Httpie.

Httpie provides a clean terminal output which is handy for this type of project. You will need to install it locally if you want to use the commands.

Note: Httpie is pre-installed in the docker container.


Getting started

pip install requirements.txt
python -m venv venv
docker-compose up -d --build
source venv/bin/activate
cd backend
python manage.py runserver

Running unit tests

cd backend
python manage.py test