Golang Base API is a GraphQL REST API implemented with JWT authentication and user session backup.
You will need Docker installed on your machine. Please read the documentation here.
๐ 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 ! ๐