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