A chat web app built using:
Run
npm install
in both frontend
and backend
folders.
Start the backend with the following command in backend/
:
npm run start
Start the frontend with the following command in frontend/
:
npm run dev
To access the application on a remote device on the same network, change the url
parameter in the HocuspocusProvider
configuration in frontend/src/App.tsx
to the IPv4 address of the device the backend is running on. Then start the backend normally and run the following command in frontend/
:
npm run dev -- --host