This repository showcases the stack utilized in the DigitalBooking project. Visit Digital Booking for more information about the complete project.
There are some differences between the project developed during the course and this repository
In the original project, the static content was hosted by an AWS S3 bucket. This repo deploys the Vite+React app to GitHub pages (unlimited FREE) using the following strategy:
-
Install the
gh-pagespackage:npm install gh-pages --save-dev
-
In the
package.jsonfile add before"build": "vite build":"predeploy": "npm run build", "deploy": "gh-pages -d dist",
-
In the
vite.config.jsfile add beforeplugins: [react()],:base: "DigitalBooking",
-
Even if using yarn as package manager. In the terminal on the front folder run:
npm run deploy
To update app deployment: run the npm run deploy command again.