Learn SvelteKit and Firebase: The Ultimate Guide
Learn how to use SvelteKit and Firebase to build high-performance, scalable web applications.
Go to the Firebase Console. If this is your first firebase project you will need to Sign in to Google
Now you can click the button to add a new Project
At this point many if the blogs will start talking about setting up the database, but I want to keep this really simple "Hello World" style.You can now navigate over to the hosting area within firebase.
If you take a look at Firebase hosting quickstart it also has a great guide.If you are all new to programming you may not have installed Node or NPM yet, just follow this link and install the LTS version.
Now you can select "Get started" to walkthrough the guided tips from Firebase - Hosting.
npm install -g firebase-tools
firebase login
mkdir ~/Downloads/lesson-1-firebase-project cd ~/Downloads/lesson-1-firebase-project
firebase init
.firebaserc
{
"projects": {
"default": "ajonp-lesson-1"
}
}
firebase.json
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
Because you are logged into the CLI, the two files above tell firebase the project to use, and how they will be served on nginx. Now you just need to run the deploy command.
firebase deploy
Now back inside the firebase console you should see that hosting has now been completed.
Learn how to use SvelteKit and Firebase to build high-performance, scalable web applications.
In this course, you will learn everything you need to know to build user interfaces with SolidJS.