Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 416 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 416 Bytes

Mandatory envs: - APP_SETTINGS - DATABASE_URL

production: docker-compose up

debug: docker-compose -f docker-compose.debug.yml up

POST VALUE:

curl --location --request POST 'http://127.0.0.1:8080/post-value' \
--header 'Content-Type: application/json' \
--data-raw '{"value": "1", "lang": "Python"}'

➜ docker exec -it interview_db_1 bash postgres=# \c postgres postgres=# select * from results;