My freshman-year roommate at college is an incredible barber who even ran his business from our dorm. I built this website to help promote his brand and make it easy for clients to book appointments directly into his Google Calendar with live availability.
git clone https://github.com/your-username/maelcutzz.git
cd maelcutzzcd backend
npm install- Go to Google Cloud Console
- Enable the Google Calendar API
- Create a service account with calendar access
- Share the Google Calendar with that service account email (with "Make changes to events" permission)
- Download the
credentials.jsonfile - Place it in the following directory:
backend/config/credentials.json
⚠️ Be sure not to commitcredentials.jsonto your repo. Add it to.gitignore.
Open backend/index.js and update the following line:
const calendarId = 'your-calendar-id@group.calendar.google.com';node index.jsYou can now open index.html in your browser to test the website locally.
MIT
