A Go backend GraphQL api boilerplate with Authentication, Postgres, Hot Reload, and more.
- 🐳 Docker Development Environment
- ⚡️ Live Reloading with air
- 🚀 Routing with Chi
- 💾 Postgres with sqlc
- 🧩 Fully Typed GraphQL API with gqlgen
- 🔑 Authentication (Coming Soon)
- Remove Gorm in favor of sqlc for db
- Add authentication
- Add authorization middleware
- Create role/permission scaffold
Clone this project
git clone https://github.com/Brandutchmen/Gophai.git
or generate a new project with this template
Copy the example environment file
cp .env.example .env
Start the development environment
docker-compose up
Open the GraphQL Playground at http://localhost:3000/api/graphql/playground
make run-tests