🛶 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.
- DDD-based structure:
application,domain,transport,infrastructureandtests - Background jobs and chained workflows
# Install Jangada
go install github.com/isaqueveras/jangada@latestCreate 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=postgresThe domain layer is where business rules, entities, repositories, and services should be defined
$ jangada sail domain crm/customerThe 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=GetAllCustomerByNameThe 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=GetAllCustomerByNameThe infrastructure layer is where you implement the repository and external calls, such as database access or HTTP/GRPC requests
$ jangada sail infrastructure crm/customer