Skip to content

Golang Base API is a GraphQL REST API implemented with JWT authentication and user session backup.

Notifications You must be signed in to change notification settings

brice-74/golang-base-api

Repository files navigation

Golang Base API

Quality Assurance codecov

Golang Base API is a GraphQL REST API implemented with JWT authentication and user session backup.

Installation

You will need Docker installed on your machine. Please read the documentation here.

Usage

👉 Copy the .env.example file in a new .env.dev file and replace the values and secrets if necessary.

🐋 You can now start the project in two different ways, in both cases, the command will start the Docker containers with the API HTTP server and the Postgres database:

make run/dev/air # Start using cosmtrek/air
make run/dev/reflex # Start using cespare/reflex

🐘 Make sure to perform migrations will containers are running:

make db/migrations/up # Create postgres tables

Everything good, Enjoy ! 😎

About

Golang Base API is a GraphQL REST API implemented with JWT authentication and user session backup.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published