This is a simple chat application that allows users to view, create, edit, and delete chat messages. The application includes a stylish interface for both the main chat page and the edit message page.
- View all chat messages
- Create new chat messages
- Edit existing chat messages
- Delete chat messages
- Responsive design for mobile devices
- HTML
- CSS
- JavaScript (with EJS templates)
- Node.js (Express)
To get a local copy up and running, follow these steps:
- Node.js installed on your machine
- npm (Node Package Manager) installed
-
Clone the repository:
git clone https://github.com/your-username/chat-application.git
-
Navigate to the project directory:
cd chat-application -
Install the necessary packages:
npm install
-
Start the server:
npm start
-
Open your browser and navigate to:
http://localhost:3000
chat-application/
├── public/
│ ├── style.css
│ ├── edit-style.css
├── views/
│ ├── index.ejs
│ ├── edit.ejs
├── routes/
│ ├── index.js
├── app.js
├── package.json
├── README.md
Styles for the main chat page, including:
- Layout and styling for chat messages
- Styling for buttons
- Responsive design adjustments
Styles for the edit message page, including:
- Layout and styling for the edit form
- Styling for the edit button
- Responsive design adjustments
- View Chats: On the main page, view all chat messages.
- Create New Chat: Click the "New Chat" button and submit a new message.
- Edit Chat: Click the "Edit" button on a chat message, modify the message, and submit.
- Delete Chat: Click the "Delete" button on a chat message to remove it.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.