This project is a GraphQL server implemented in Go. It uses gqlgen for schema generation and MongoDB for data storage.
.github/workflows/: Contains GitHub action workflows.graph/: Contains GraphQL schema and generated code.hooks/: Contains git hooks.internal/: Contains the main application code and business logic.app/: Contains the main application setup.auth/: Contains authentication middleware.database/: Contains database setup and data models.resolvers/: Contains GraphQL resolvers.pkg/: Contains utility packages.
server.go: The entry point of the application.
- Install Go: Follow the instructions at https://golang.org/doc/install
- Clone the repository:
git clone <repository-url> - Navigate to the project directory:
cd <project-directory> - Install dependencies:
go get ./... - Run the server:
go run server.go
Run the tests with the following command:
go test ./...