Skip to content

isaqueveras/jangada

Repository files navigation

Go Reference License: MIT Go Report Card

🛶 Jangada is a Go web framework full stack, designed for productivity and DDD best practices.

Build web apps and APIs quickly with plugins, background jobs, and workflows.

Welcome page

Features

  • DDD-based structure: application, domain, transport, infrastructure and tests
  • Background jobs and chained workflows

Install Jangada CLI

# Install Jangada
go install github.com/isaqueveras/jangada@latest

Create a new app

Create the foundation of an application to build a monolithic or microservice

$ jangada new commerce

# or configure the base with the flags
$ jangada new commerce --mod=github.com/isaqueveras/commerce --host=localhost:8782 --db=postgres

Create a domain layer

The domain layer is where business rules, entities, repositories, and services should be defined

$ jangada sail domain crm/customer

Create a application layer

The application layer is where the orchestrators and services that create flows within the system are concentrated

$ jangada sail application crm/customer

# or create a new service in the application
$ jangada sail application crm/customer --service=GetAllCustomerByName

Create a transport layer

The transport layer is where you control the rest/grpc/web routes that access the application layer

$ jangada sail transport crm/customer

# or create a new method in the controller
$ jangada sail transport crm/customer --layer=rest --name=GetAllCustomerByName

Create a infrastructure layer

The infrastructure layer is where you implement the repository and external calls, such as database access or HTTP/GRPC requests

$ jangada sail infrastructure crm/customer

About

Jangada - Full-stack web framework for Golang — Web, Rest, gRPC & modern apps.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published