/severless-side-rendered-nextjs-starter

Serverless side rendered blog with Next.js, Google Cloud functions and firebase hosting

Primary LanguageJavaScript

Serverless side render blog with Next.js starter kit

Next.js, Google Cloud Functions, Firebase hosting

How to start

  • 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 name
  • npm run serve To start the serverless emulator, use this to test before deployment. If you are on windows systems you should remove the sudo command inside the serve:only script
  • npm run dev To start a development server

Blog post

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


New feature coming

  • Service worker with build script
  • https support for serverless emulator