Firebase
Edit this pageFirebase is an all-in-one app development platform by Google, offering a range of services from real-time databases to user authentication. For a detailed overview of the services available, you can visit Firebase's documentation.
Before proceeding, make sure you've already set up a project in your Firebase console. If you haven't, you can follow Firebase's official guide to create a new Firebase project.
Using the Firebase CLI Tool
- Use your preferred package manager to install the Firebase command-line tool with one of the following commands:
-
Execute the
firebase login
command to ensure that you're logged into the Firebase account associated with your project. -
In the root directory of your Solid project, create two new files:
firebase.json
and.firebaserc
.
- In
firebase.json
, add the following code:
- In
.firebaserc
, insert the following code (replace<YOUR_FIREBASE_PROJECT_ID>
with your Firebase project ID):
- Run
npm run build
, followed byfirebase deploy
to build and deploy your project.
Upon completion, a Hosting URL
will be displayed, indicating the live deployment of your project.