Software proyect template based on npm workspaces
-
./: Contains common configuration such as linting rules, husky and docker.
-
./packages/api: DDD and CQRS application with NestJS. It's connected to a MongoDB database.
-
./packages/web: React application with Vite. It has styled-components, i18next for translations and react router configured.
-
./packages/shared: Storybook configured to create components and use them in the frontend applications of the workspace. It should also include common utilities used accros the workspace.
-
Run
npm i
in the root folder to install all the workspace dependencies. -
Run
docker-compose up
to create the containers that will host the workspace infrastructure (MongoDB and Mongo Express). -
Run
npm start
to start both the api and the web applications.