URL: https://fbtestproject-efe8a.web.app/
To add or remove upcoming Repair Cafe dates, edit the src/upcomingDates.js file.
- Open
src/upcomingDates.js - Add new dates to the
upcomingDatesarray inYYYY-MM-DDformat - Dates should be in chronological order (earliest first)
- The website will automatically display the next upcoming date that hasn't passed
Example:
export const upcomingDates = [
"2026-01-31",
"2026-02-28",
"2026-03-28",
// Add new dates here
"2026-04-25",
];- Open
src/upcomingDates.js - Remove the date string from the array
- Make sure to remove the comma if it's the last item, or add a comma if removing a middle item
- Use
YYYY-MM-DDformat (e.g.,"2026-12-25") - Dates must be strings (wrapped in quotes)
- Dates should be separated by commas
- The app automatically filters out past dates and shows the next upcoming one
If a Repair Cafe date needs to be canceled, use an object format instead of a string:
export const upcomingDates = [
"2026-01-31",
{ date: "2026-02-28", canceled: true }, // This date is canceled
"2026-03-28",
];When a date is marked as canceled:
- The website will display a cancellation message instead of the regular date announcement
- The message will appear in red to indicate cancellation
- The app will still show the next upcoming date (even if canceled) so visitors know when the cafe was scheduled
npm install
npm run serve
npm run build
npm run lint
This project is deployed to Firebase Hosting. The live site is available at: https://fbtestproject-efe8a.web.app/
- Install Firebase CLI globally:
npm install -g firebase-tools- Login to Firebase:
firebase login- Build the project for production:
npm run buildThis creates an optimized production build in the dist folder.
- Deploy to Firebase:
firebase deploy --only hostingOr to deploy everything (if you have other Firebase services configured):
firebase deploy- Make your changes to the code
- Test locally with
npm run serve - Build the production version:
npm run build - Deploy to Firebase:
firebase deploy --only hosting - Your changes will be live within a few minutes
- Project ID:
fbtestproject-efe8a - Hosting Directory:
dist(configured infirebase.json) - Configuration File:
.firebaserccontains the project ID
The project includes GitHub Actions workflows (in .github/workflows/) that automatically deploy when changes are pushed to the main branch:
- Pull requests trigger preview deployments
- Merges to main trigger production deployments