Skip to content

Booking Paradises was built using Typescript, ReactJS, Material UI, Vite, React Router, Hooks, Context API, React Redux, Jest (Unit Tests) and Cypress (E2E Tests)

License

Notifications You must be signed in to change notification settings

marco-rosner/bookingparadises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT Unit Test workflow E2E Test workflow

Booking Paradises

Booking Paradises is a mobile-friendly application that manages bookings for amazing places where you can live perfect moments with your loved ones.

Booking Paradises

The project was built using Typescript, ReactJS, Material UI, Vite, React Router, Hooks, Context API, React Redux, Jest (Unit Tests) and Cypress (E2E Tests).

Run the project

Using Docker Compose

docker-compose up

Using Docker

To run this project using Docker run these commands:

Client

cd client && docker build . -t marcorosner/bookingsparadises-client

docker run -p 5173:5173 -d marcorosner/bookingsparadises-client

Server

cd server && docker build . -t marcorosner/bookingsparadises-server

docker run -p 8080:8080 -d marcorosner/bookingsparadises-server

Standalone versions

Client

Install the dependencies:

cd client && yarn

Run in the dev mode:

cd client && yarn dev

Served at http://localhost:5173

Server

Install the dependencies:

cd server && yarn

Run in the dev mode:

cd server && yarn dev

Served at http://localhost:8080

Scripts on client

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

GitHub Actions

To prevent regression defects, two GitHub Actions was created Unit Test and E2E Test.

Future work

  • HighlightTrack and TinyTrack with slides
  • ...

About

Booking Paradises was built using Typescript, ReactJS, Material UI, Vite, React Router, Hooks, Context API, React Redux, Jest (Unit Tests) and Cypress (E2E Tests)

Topics

Resources

License

Stars

Watchers

Forks