This is a monorepository that use npm workspaces to manage multiple packages. This includes:
packages/backend
- a simple backend applicationpackages/frontend
- a simple frontend application
- NVM (Node Version Manager) or ASDF (version manager)
- this repository is configured to be used with both of them
- we use Node.js 18.14.2
npm install
npm run start:fe
- starts the frontend application in development modenpm run start:be
- starts the backend application in development mode
npm run test
- runs the unit tests and integration tests for both frontend and backend applicationsnpm run cucumber
- runs the end-to-end tests with Cucumbernpm run cy:run
- runs the end-to-end UI tests with Cypressnpm run cy:open
- runs the end-to-end UI tests with Cypress in interactive mode