An open API service indexing awesome lists of open source software.

https://github.com/e-roy/app-hosting-next-demo


https://github.com/e-roy/app-hosting-next-demo

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Next.js on Firebase App Hosting

This is an example [Next.js](https://nextjs.org/) project to demonstrate SSG,
SSR, and ISR on [Firebase App Hosting](https://firebase.google.com/docs/app-hosting).

## Getting Started

Run the development server:

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Deploy to Firebase App Hosting

### 1. Get your project set up on GitHub

[Create a new GitHub repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository) and push the newly-initialized sample code to it:


git remote add origin https://github.com/$YOUR_NEW_REPOSITORY.git
git branch -M main
git push -u origin main

### 2. Set up Firebase App Hosting

Continue to [Get started with Firebase App Hosting](https://firebase.google.com/docs/app-hosting/get-started#step-1:).