Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
/ gomora Public archive

A progressive framework-agnostic API template following CLEAN architecture and SOLID principles. DDD inspired :)

License

Notifications You must be signed in to change notification settings

kabaluyot/gomora

Repository files navigation

Gomora

A progressive framework-agnostic API template following CLEAN architecture and SOLID principles. DDD inspired :)

Introduction

Gomora provides the example for a module-based gRPC and REST server suitable for building progressive APIs (from monolith to distributed microservices).

image

Screen Shot 2023-11-08 at 9 23 38 AM Screen Shot 2023-11-08 at 9 23 52 AM

Local Development

Setup the .env file first

  • cp .env.example .env

To bootstrap everything, run:

  • make

The command above will install, build, and run the binary

For manual install:

  • make install

For lint:

  • make lint

Just ensure you installed golangci-lint.

To test:

  • make test

For manual build:

  • make build
  • NOTE: the output for this is in bin/

Docker Build

To build, run:

  • make run

To run the container:

  • make up

License

MIT

Made with ❤️ at Nuxify