PimpMyPack is a set of backend APIs dedicated to CRUD operations on hiking equipment inventories and packing lists.
It should be used in conjunction with any frontend candidates.
It could replace Lighterpack if this project dies (because it's not maintained anymore)
The server is based on Gin Framework and provides endpoints to manage Accounts, Inventories & Packs
A dedicated API documentation is available here.
git clone [email protected]:Angak0k/pimpmypack.gitThe app need a local DB.
You need to use docker to start a postgres database:
docker run --name pmp_db \
-d -p 5432:5432 \
-e POSTGRES_PASSWORD=pmp1234 \
-e POSTGRES_USER=pmp_user \
-e POSTGRES_DB=pmp_db postgres:14-alpinePimpmypack app read its conf from the environment and/or .env file.
The simplest way is to:
- copy the
.env.samplefile to.env - customize the values in the
.envfile to match your setup
go build . && ./pimpmypackgo test ./...or with verbose mode
go test -v ./...