FIBER DOCS: Documentation
GORM DOCS: Documentation
PG ADMIN: Documentation
- Download this repo or run:
$ git clone [email protected]:LitPad/backend.git- Install all dependencies
$ go install github.com/cosmtrek/air@latest
$ go mod download-
Create an
.envfile and copy the contents from the.env.exampleto the file and set the respective values. A postgres database can be created with PG ADMIN or psql -
Run Locally
$ air- Run With Docker
$ docker-compose up --build -d --remove-orphansOR
$ make build- Test Coverage
$ go test ./tests -v -count=1OR
$ make test