gqlgen_ent_clean_architecture

package module
v0.0.0-...-abb50dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 0 Imported by: 0

README

gqlgen-ent-clean-architecture-boilerplate

A Clean Architecture boilerplate for Golang applications built with gqlgen and ent.

This boilerplate is inspired by Clean Architecture with ent and gqlgen | by Manato Kuroda | Better Programming, but with some original customizations based on the official docs of ent..

The Go gopher was designed by Renée French.

Usage

Run Docker
cd docker
docker comopse up
Set up database
make setup_db
make migrate_schema
Codegen
make generate
Start server
make start

You can see the GraphQL Playground at http://localhost:8080/playground.

Testing
make setup_test_db
make test_repository
E2E
make setup_e2e_db
make e2e

FAQ

How to add a schema?

Now Writing.

References

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL