Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.2 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.2 KB

nextjs-firebase-chat

Demo Site (right click and open in a new tab)

Nextjs app using Firebase Authentication(with anonymous sign-in), Firebase Realtime Database.

screencapture-kanichi-nextjs-chat-web-app-chatroom

Getting Started

First, in your Firebase console, activate "Authentication" and "Realtime Database".
And enable anonymous auth:
  In the Firebase console, open the Authentication section.
  On the Sign-in Methods page, enable the Anonymous sign-in method.

Next, in your workspace, create "/src/_DoNotCommit" directory.
Then, copy files from "_DoNotCommit_OriginalFiles" to the newly created directory.

Update the copied files with your Firebase settings. update env.ts

Recover node_modules from package-lock.json.

npm ci

Finally, run the development server.

npm run dev

Open http://localhost:3000 with your browser to see the result.