This app uses a vite React project for the frontend and a Node.js server for the backend. To use the app, simply type a message in the text field and submit it. This will send the messge to the server which will then send the message back and be displayed as a browser alert.
To set up project, open two terminal instances:
- In first terminal instance:
- From project root,
cd serverto change into server directory npm installto install "ws" dependencynode server.jsto start backend server
- From project root,
- In second terminal instance:
- From project root,
cd clientto switch to client directory npm run devto start client server- Open
localhost:5173in browser
- From project root,