Skip to content

adrieljss/golighter

Repository files navigation

GoLighter Logo

GoLighter

GoLighter is a lightweight API boilerplate, built with a user system and authentication.

Features

  • User management
  • Authentication
  • Authorization
  • Flag-based access control
  • JWT-based authentication
  • PostgreSQL Database
  • Redis Caching

Getting Started

go run main.go

and then run the migrations in migrations/ folder.

Testing

To run tests, make sure to activate the testing database first (in a seperate db from production, and already have migrations). Run the following command to recursively run tests.

go run ./...
# or with a verbose output
go run -v ./...

Or additionally, you can use tparse:

set -o pipefail && go test -json ./... | tparse -all # linux
go test -json ./... | tparse -all # windows

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages