https://github.com/epilande/next-cloud
⛅️ Next.js on firebase cloud functions
https://github.com/epilande/next-cloud
cloud-functions faas firebase nextjs react server-rendering serverless
Last synced: 10 months ago
JSON representation
⛅️ Next.js on firebase cloud functions
- Host: GitHub
- URL: https://github.com/epilande/next-cloud
- Owner: epilande
- License: mit
- Created: 2017-08-09T09:33:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T10:57:07.000Z (over 8 years ago)
- Last Synced: 2025-03-26T10:52:15.810Z (11 months ago)
- Topics: cloud-functions, faas, firebase, nextjs, react, server-rendering, serverless
- Language: JavaScript
- Homepage: https://nextjs-a63d7.firebaseapp.com/
- Size: 4.88 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Next.js + Cloud Functions ⛅️
Going serverless with next.js
## Why?
You want server-side rendering with react and you don't want to worry about your server.
Let Firebase set up, maintain, and scale your back-end automatically. You don't have to worry about server configuration, provisioning new servers, or decommissioning old ones. Also the deployment process is simple and easy with `firebase deploy`.
## Quick Start
#### Clone this repo
```bash
$ git clone https://github.com/epilande/next-cloud.git
$ cd next-cloud
```
#### Install dependencies
```bash
$ npm install
```
#### Launch dev environment
```bash
$ npm run dev
```
#### Launch app with local Firebase Cloud Functions
```bash
$ npm run serve
```
#### Deploy app to Firebase
*Before you deploy, make sure you update [.firebaserc](https://github.com/epilande/next-cloud/blob/master/.firebaserc#L3) to match your app's project name.*
```bash
$ npm run deploy
```