- First you need to install firebase CLI
npm install -g firebase-tools
- Then you need to have a firebase account and a firebase project https://firebase.google.com/
npm run bootstrap
At the end you will be prompt to set a firebase project namenpm run serve
To start the serverless emulator, use this to test before deployment. If you are on windows systems you should remove thesudo
command inside theserve:only
scriptnpm run dev
To start a development server
For more info check my blog post: https://blog.hirvitek.com/post/this-overkill-blog!-how-i-build-it-using-nextjs-in-serverless-mode_5b0NEa2oBA8QPWFqieACbV
- Service worker with build script
- https support for serverless emulator