Skip to content

mohandeblaze/nest-next-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nest.js + Next.js + Firebase

An example or boilerplate for combining 3 technologies together Next.js, Nest.js and Firebase functions and hosting.

Packages

Usage

  • For Local development, go to app folder run npm i or yarn and npm run dev will launch development server.
  • Hot module replacement for Next.js and incremental build for Nest.js.
  • For Production, run npm run build, this will create .next, dist and will copy static bundle to public folder for instant deploy.
  • You can check and test this production build in local by running npm run firebase:local to emulate how you app will run in Firebase functions and hosting.
  • Finally, to deploy it to Firebase functions and hosting run npm run firebase:deploy.

Before deploy or firebase serve, change the project ID in .firebaserc file to your firebase project ID or else the build will get failed.

This app is fork of nest-next package example and modified it to work with firebase functions and hosting.

About

An example or boilerplate for combining 3 tech together Next.js, Nest.js and Firebase functions and hosting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors