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
- Host: GitHub
- URL: https://github.com/e-roy/app-hosting-next-demo
- Owner: e-roy
- Created: 2024-06-29T00:30:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-29T00:48:04.000Z (about 2 years ago)
- Last Synced: 2026-01-01T23:20:51.816Z (7 months ago)
- Language: CSS
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:).