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
- Host: GitHub
- URL: https://github.com/luismendes070/friendlyeats-web-nextjs-end
- Owner: luismendes070
- License: apache-2.0
- Created: 2024-03-21T13:20:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T11:32:48.000Z (about 2 years ago)
- Last Synced: 2026-01-03T13:54:22.959Z (6 months ago)
- Topics: 2024, auth, babel, firebase, firebase-auth, jest, nextjs, reactjs, testing-library, typescript
- Language: JavaScript
- Homepage: https://friendlyeats-web-nextjs-end.vercel.app/
- Size: 863 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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".