Skip to content
/ Gophai Public template

A Go backend GraphQL api boilerplate with Authentication, Postgres, Hot Reload, and more.

License

Notifications You must be signed in to change notification settings

Brandutchmen/Gophai

Repository files navigation

Gophai

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)

Roadmap

  • Remove Gorm in favor of sqlc for db
  • Add authentication
  • Add authorization middleware
  • Create role/permission scaffold

Quick Start

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


Running Tests

make run-tests

About

A Go backend GraphQL api boilerplate with Authentication, Postgres, Hot Reload, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages