Booking Paradises is a mobile-friendly application that manages bookings for amazing places where you can live perfect moments with your loved ones.
The project was built using Typescript, ReactJS, Material UI, Vite, React Router, Hooks, Context API, React Redux, Jest (Unit Tests) and Cypress (E2E Tests).
docker-compose up
To run this project using Docker run these commands:
cd client && docker build . -t marcorosner/bookingsparadises-client
docker run -p 5173:5173 -d marcorosner/bookingsparadises-client
cd server && docker build . -t marcorosner/bookingsparadises-server
docker run -p 8080:8080 -d marcorosner/bookingsparadises-server
Install the dependencies:
cd client && yarn
Run in the dev mode:
cd client && yarn dev
Served at http://localhost:5173
Install the dependencies:
cd server && yarn
Run in the dev mode:
cd server && yarn dev
Served at http://localhost:8080
There are many scripts in package.json
like:
- start - run the Vite server exposing the host
- dev - run the Vite server in dev mode
- test - run the unit tests using jest
- test:watch - run the unit tests with watch mode
- test:coverage - create the coverage report (actual with 90.58%)
- test:e2e - run the server and the E2E tests
- build - build the project for production using Vite
- lint - check lint rules using ESlint
To prevent regression defects, two GitHub Actions was created Unit Test and E2E Test.
- HighlightTrack and TinyTrack with slides
- ...