This repository extends on Creative Tim's Notus Svelte template and Firebase for a serverless and completely free wedding website to share with your guests.
https://wedding-me-ff80b.web.app/
See Notus Svelte for basic setup instructions.
See Firebase for firebase project setup. Firebase will be your User registration/database/deployment solution.
For the database, you will need to set up a Firebase Realtime database. Your database schema will look like:
{
"markers": {
"userId": {
"-NNEKJszrJJe46QrevrJ": {
"description": "Nuts",
"displayName": "mesh",
"lat": 36.87495685963535,
"lng": 74.78404921881642,
"name": "Pea",
"timestamp": 1675294494276,
"userId": "userId"
},
}
},
"users": {
"userId": {
"attendees": {
"diet-0": "i require meat",
"diet-1": "",
"name-0": "mesh",
"name-1": "mike"
},
"displayName": "mesh",
"email": "[email protected]",
"hasAccess": true
},
}
}
hasAccess
is an additional attribute that you will need to add manually via firebase so that the given guest can have privileged access to various website functionalty such as access to the maps and additional sensitive information in the landing page.Use Firebase for deployment.
To enable collaborative editing for Google Maps, you will need to set up a Google Maps project. Once you have obtained your SDK key, you can test it out by subtituting the value in index.html
.