/uda-coding-test

Python coding test

Primary LanguagePython

UDA Python coding test

Overview 🕵️‍♂️

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:

Environment variables 📋

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

Running the application 🚀

docker-compose up

Endpoints should be accessible on port 8000 of localhost.

Endpoints documentation 📖

Endpoints full documentation can be found at:

http://localhost:8000/swagger/
https://uda-coding-test.herokuapp.com/swagger/

Alt text

Running the tests 🛠

docker-compose run web python manage.py test

Continuous Integration ✅

master development
CircleCI CircleCI

Coverage 📊

master development
Coverage Status Coverage Status

Check it out at Heroku 🍻

https://uda-coding-test.herokuapp.com/assets/

Author ✍️

José Antonio Garcel (garcel.developer@gmail.com)

Nov 29 2020