Welcome to the Travelmate project! This guide provides step-by-step instructions for contributing to the project.
Please make sure to read the following documents to get an overview of the project:
- Project Kick-off and Big Picture Overview
- Purpose, Scope, Target Users, Use Cases, and Key Features / USP
- Technology Stack
Clone the Travelmate project repository to your local machine using the following command:
git clone https://github.com/peuan/travelmate-web.gitNavigate to the project directory and install all the required dependencies:
cd travelmate-web
yarn installStart the development server by running the following command:
yarn devOpen http://localhost:3000 in your browser to see the application in action.
To run the application using Docker, use the following command:
docker-compose up -dTo design and customize UI components, use Storybook:
yarn storybookOpen http://localhost:6006 in your browser to access Storybook.
For end-to-end testing, we use Playwright.
To open Playwright UI, run the following command:
yarn playwright-uiUnit testing is performed using Jest.
To run tests in a CI environment, use the following command:
yarn test:ci
To generate a coverage report, run:
yarn test-reportyarn commit