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

https://github.com/imbios/codelab-friendlyeats-web

Integrate Firebase with a Next.js app codelab
https://github.com/imbios/codelab-friendlyeats-web

Last synced: 4 months ago
JSON representation

Integrate Firebase with a Next.js app codelab

Awesome Lists containing this project

README

          

# Friendly Eats with Next.js + Firebase

The codelab has the full instructions, but as a quick start, you can do this.

## Run the application

1. In your terminal, run:

```sh
firebase emulators:start
```

2. Copy the file `lib/firebase/config-copy.js` to `lib/firebase/config.js` and fill in the values from the Firebase console.

3. In a new terminal tab/window, run:

```sh
bun i
bun run dev
```

4. In your browser, open the URL: `http://localhost:3000`

## Use the application

1. While on `http://localhost:3000/` within your browser, click the "Sign in" button in the top right corner and sign in.
2. In the dropdown menu in the top right menu, select "Add sample restaurants".