Skip to content

rowaxl/nextjs-with-firebase-hosting-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project with using Firebase as a hosting service.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Firebase

  • Install firebase-tools to the global
  • Log in to firebase with firebase login
  • Set up your project to use
  • Select the project wtih firebase use
  • Build the production mode app with yarn build or npm run build

Hosting only

  • Export the static HTML Site with yarn export or npm run export
  • Excute deploy command firebase deploy --only:hosting

With Functions

  • Excute deploy command firebase deploy --only:nextServer,hosting

About

Next.js sample with using firebase hosting, functions for SSR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published