Version: 1.1.0
Author: José Véliz (Duccem)
Monorepo to all of Web/Mobile apps of Ducen projects based on ReactJS and Typescript, built using Domain-Driven Design Architecture. The main objective of this project is to provide a modular and scalable structure for the development of mobile and web applications. By adopting a monolithic approach, where multiple applications share common code, we aim to facilitate maintenance, reusability, and software evolution over time.
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 dev -w consulting-room
- Local - Local Machine
- Test - Docker Containers
- Dev - Cloud Dev Services
- Prod - Cloud Main Services
The repository is structured in such a way that each application (both mobile and web) resides in its own directory within the apps folder. Additionally, the main code for each business area within the repository is separated by contexts within the contexts folder. Furthermore, the shared context is included for code shared among different contexts. This modular structure allows for independent development of each application under different parameters and by different teams, while efficiently sharing resources and common logic.
The structure folder follow the DDD and Hexagonal architecture philosophy (Domain, Services/Application, Infrastructure/Adaptors).
- apps/ Apps of the different teams
- hospital/ core team
- consulting-room/ Web app with react
- nurse-app/ Mobile expo app
- hospital/ core team
- contexts/
MIT