Use this template to instantly create Express/Next.js project and deploy on Firebase Cloud Functions.
Follow the steps below to create and deploy new REST API on Firebase.
Go to Firebase Console and create a new project, if you haven't already.
Add your project ID to the .firebaserc
file.
File: .firebaserc
{
"projects": {
"default": "FIREBASE_PROJECT_ID"
}
}
Replace FIREBASE_PROJECT_ID
with your Firebase Project ID
Install the required dependecies described in package.json
using the commands below.
npm install -g firebase-tools # required for Firebase CLI
firebase login # Login to Firebase CLI, required once
npm install
Run the following commands to deploy your project on Firebase Cloud Functions.
npm run deploy
The above commmand will automatically create an optimized build for your project, and deploy it on Firebase Cloud Functions.
We'd love to accept your patches and contributions to this project. There are just a few guidelines you need to follow.
This project follows Contributor Covenant as it's Code of Conduct, and we expect all project participants to adhere to it. Please read the full guide so that you can understand what actions will not be tolerated.
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to project.
This project is licensed under the MIT License, meaning that you're free to modify, distribute, and / or use it for any commercial or private project.