- Node.js (v16+)
- npm
- Clone the repository
- Navigate to backend directory
$ cd test_api
$ npm install
$ npm run start:dev
- Navigate to frontend directory
cd test_ui
npm install
npm run dev
- Navigate to the backend directory
cd test_api
npm install
- Run Jest test
npm run test
- Run End-to-End (E2E) tests
npm run test:e2e
- Run Cypress tests
Note: Stop any running instances of cypress before switching environments
npm run test:cypress
- Navigate to the Frontend directory
cd test_ui
npm install
- Run Cypress tests
Note: Stop any running instances of cypress before switching environments
npm run dev | npm run dev -- --host ['to expose port to cypress']
npm run cypress | npx cypress open