This is meant to be a starting point for your web application. And when you need to add features to existing projects.
Step 0
If you don't have a Svelte project already, do the following:
- download and install Node.js
- download and unzip this starter project to myFolder
- Install npm, firebase by opening a terminal at myFolder and type:
- npm install + ENTER
- npm install firebase + ENTER
- npm run dev + ENTER
- now open a browser, and go to 127.0.0.1:5000, and see if it works
- you might have to clear the browser history after unsuccessful runs
- create a Firebase project
- add this firestore.js file to your src folder, and add your Firebase values to it.
- for hosting your application, consider Netlify.com