The goal is to deploy an HTTP REST API service that allows to create assets into a database.
The following libraries and frameworks were used:
Some variables are expected to exist into the environment. In my development environment I'm using and .env
file
with these properties:
DEBUG=True
SECRET_KEY=
PORT=8000
DATABASE_HOST=db
DATABASE_PORT=5432
POSTGRES_DB=test
POSTGRES_USER=test
POSTGRES_PASSWORD=test
docker-compose up
Endpoints should be accessible on port 8000
of localhost
.
Endpoints full documentation can be found at:
http://localhost:8000/swagger/
https://uda-coding-test.herokuapp.com/swagger/
docker-compose run web python manage.py test
master | development |
---|---|
master | development |
---|---|
https://uda-coding-test.herokuapp.com/assets/
José Antonio Garcel (garcel.developer@gmail.com)
Nov 29 2020