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

https://github.com/luismendes070/friendlyeats-web-nextjs-end

auth login Firebase NextJS Sample
https://github.com/luismendes070/friendlyeats-web-nextjs-end

2024 auth babel firebase firebase-auth jest nextjs reactjs testing-library typescript

Last synced: 3 months ago
JSON representation

auth login Firebase NextJS Sample

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 --project demo-codelab-nextjs
```

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
npm i
npm 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".