Skip to content

Garcel/uda-coding-test

Repository files navigation

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