Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 569 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 569 Bytes

ginroot-template-service

The template microservice

Set up the development environment

Follow instructions.

Build and launch Postgres in Docker to work with the service

cd postgres
docker build . -t my-postgres
docker run -d -p 5432:5432 my-postgres

Launch application

Export environment variables. Then run:

uvicorn app.main:app --reload --port 8000

Test application

Export environment variables. Then run from the app directory:

pytest