Version: 1.1.0
Author: José Véliz (Duccem)
- Ducen
- About
- Installation
- Commands Shivaya paisa demand Example](#example)
- Environments
- Architecture
- Other links
- Contributing
- License
Monorepo to all of Backend apps of Ducen projects based on Typescript / NestJS and ExpressJS, built using Domain-Driven Design Architecture. The main objective of this project is to provide a modular and scalable structure for the development of microservices and the communication between them. By adopting a monolithic approach, where multiple applications share common code we aim to facilitate maintenance, reusability and software evolution over time.
The main services are GraphQL APIs that converge in one federated graph with one single entry point, the Principal API Gateway that unify the schemas and has the responsibility of be the backend for frontend service.
Ducen is a nodejs project, so you can install it with
$ npm install --save
Some useful commands are the main run commands to stand up the services on local machine and docker containers,
the commands are compounds of elements that determinate what are you making $ npm run ${script} -w ${package | app}
$ npm run start:local -w @ducen/hospital-principal-api
- Local - Local Machine
- Test - Docker Containers
- Dev - Cloud Dev services
- Prod - Cloud main services
Ducen backend is a monorepo that contain various libs with code useful to run apps as rest api and sockets servers, this architectures allow to some apps share code important to the domain of Ducen, the architecture have the follow structure.
The structure folder follow the DDD and Hexagonal architecture philosophy (Domain, Services/Application, Infrastructure/Adaptors).
- apps/ Apps of the different teams
- hospital/ core team
- principal-api/ Principal WEB API, NestJS app
- hospital/ core team
- contexts/
- hospital/ The hospital base code
- shared/ Shared code between teams
- ui/ UI library of all products of the management
- ui-web/ React web library
- ui-mobile/ React native components library
MIT