This is the frontend part of the project, which is a simple web page with some JavaScript and CSS to make requests to the backend server. The backend server is an Express server that serves and sends messages to the frontend.
/tp1/
├── index.html
├── styles.css
└── script.js
/tp2/
├── index.js
├── package.json
└── package-lock.json
- A web browser (e.g., Chrome, Firefox)
- Node.js and npm installed
- Open
index.htmlin your web browser.
- Navigate to the backend directory:
cd /tp2 - Install the dependencies:
npm install
- Start the server:
npm run
- The frontend will make requests to the backend server to send and receive messages.
- Ensure the backend server is running before interacting with the frontend