Skip to content

Next project deployed on Firebase using Firebase Hosting and Firebase Functions

Notifications You must be signed in to change notification settings

robertcasanova/next-firebase-demo

Repository files navigation

Next.js SSR app hosted by Firebase

This demo run an Next.js SSR application using Firebase Functions and Firebase Hosting.

How to use

Set up firebase:

Set up next.js:

  • rename next.config.js.sample in next.config.js and fill %YOUR_FIREBASE_PROJECT_ID%

Run:

  • npm install
  • npm run dev (to test locally)
  • npm run firebase:deploy (to build and deploy to firebase)

Notes

  • Currently two firebase functions are used, one to handle next API Routes requests and another for SSR / static assets.
  • firebase serve is not working, need to figure out why.

About

Next project deployed on Firebase using Firebase Hosting and Firebase Functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published