/bookies

Primary LanguageGoMIT LicenseMIT

Bookies

How to run:

  1. Install all dependencies with go mod download
  2. Create a .env file according to the .example-env
DB_URI=your-postgres-link
API_KEY="supersekret"
TOKEN_LIFESPAN=1
  1. Migrate the models with go run migrations/migration.go
  2. Run the app with go run main.go
  3. The backend should be live at localhost:8080

Endpoints:

Run in Postman

Public deployment

https://spobook.fly.dev/