Skip to content

A frontend interview test

Notifications You must be signed in to change notification settings

Infvyr/React-Chat-Room

Repository files navigation

logo of awesome-vite

React Chat Room

How to run

In order to run the project on your local machine you have to create a file .env.local and paste into this content:

  • VITE_USERS_API="http://localhost:3001/users"
  • VITE_MESSAGES_API="http://localhost:3001/messages"

Then:

  1. install all dependencies by running yarn install
  2. run yarn dev to run the app with json server (json-server is used as local server that stores json data)

Used libraries

  1. Typescript
  2. React
  3. React Router v6
  4. React Error Boundary
  5. React TextArea AutoSize
  6. SWR
  7. Jotai
  8. HeadlessUI
  9. Tailwind CSS
  10. React Feather icons
  11. Json server

All this stuff bundled by vite