White Point inventory is an inventory service for management of supplier transactions for White Point limited company. This aims to solve inventory management problems while also provide insights from data collected from previous transactions.
The following are required to run this service:
- Docker (version 26.0.0)
To develop whitepointinventory, you will need:
- Go (version 1.21)
- PostgreSQL (version 14.12)
Ensure all pre-requisites are satisfied before carrying out installation and clone the repo
Execute this command from the project root:
docker compose -f docker/docker-compose.yml up
Create a PostgreSQL database and name it appropriately. Check this reference .The database is named whitepointinventory
in this case
cd sql/schema
goose postgres postgres://{userName}:{password}@localhost:5432/{databaseName} up
go build && ./whitepointinventory
The documentation is found here