- Prerequisites
- Installation
- Running the Application
- Running the tests
Before starting make sure that the following tools and software are installed on your machine:
- Node.js: Download Node.js
Download the source code from the repository
- Make sure you have installed the backend part of the application and that the server is running
- Open a terminal and navigate to the root folder of the project
- Run the following commands in order
npm installnpm run serve
- Open your preferred browser and go to:
http://localhost:5000
Thats it, you are all set to start using the application!
This project has two different test types, Unit tests with Vitest and End-To-End tests using Cypress.
Running Unit tests:
- Navigate to the root folder of the project.
- Run the following command: npm run test:unit
Running E2E tests:
- Create a user with following credentials:
- Email: test@test.com
- Password: 123456789
- Make sure the backend is running
- Run the following command: npm cypress run