This service provides several REST endpoints.
- Make sure the application can run from scratch using docker compose
- A link to the parent project
- How do you run the project?
- How do you build the project?
- Add a link to the swagger file
- Lookup a nice README to emulate
git add .
git commit -m "your message"
git tag v0.0.1
git push origin v0.0.1
docker build . -t smfg-inventory:latest
sudo docker build . --tag docker-registry:5000/smfg-inventory:1.0
sudo docker push docker-registry:5000/smfg-inventory:1.0
If you wish to see how this application runs in its complete constellation, see the parent repo.
If you just want to run this specific microservice locally...
docker build . -t smfg-inventory:latest
docker-compose up
I'm using the migrate project to manage database migrations.
migrate create -ext sql -dir db/migrations -seq create_products_table
migrate -database postgres://postgres:postgres@localhost:5432/smfg-db?sslmode=disable -path db/migrations up
migrate -source file://db/migrations -database postgres://localhost:5432/database down