yarnyarn devOpen http://localhost:3000 with your browser to see the result.
Here is a working live demo : https://better-chat.vercel.app
- React
- Next.js
- Firebase
- Cypress (End to End Testing)
- ESLint
- Prettier
Using Next.js to embrace lots of features with little or no configuration required, like server-side rendering capabilities, file-system based routing, code splitting, and other features we need for production.
Using ESLint and Prettier as the code linter and formatter to enforces a consistent style, find and fix problems.
Using Cypress to test both logic and view, such as log in the chatroom, see and send messages.
- Auth is the login page, only support for
Google Logincurrently. - After login, your
nameandemailwill display on the top right corner - You can
seethe latest 30 messages (if exist) by default - You can
see old messagesby tapping theLoad Previousbutton - You can
sendany text or emoji to the chatroom by typing the message at the bottom of the input, then press enter or tap the send button to send it - If anyone else sends a message to the chatroom, you can see it rapidly without reloading needed


