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 git@github.com:Angak0k/pimpmypack.git
The 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-alpine
Pimpmypack app read its conf from the environment and/or .env
file.
The simplest way is to:
- copy the
.env.sample
file to.env
- customize the values in the
.env
file to match your setup
go build . && ./pimpmypack
go test ./...
or with verbose mode
go test -v ./...