Savage is a messaging application that allows users to post, like, and delete messages. The app provides a simple interface for user interaction and stores messages in a MongoDB database.
- Post Messages: Users can post new messages with their names.
- Like/Dislike Messages: Messages can be liked or disliked using thumbs up/down icons.
- Delete Messages: Users have the option to delete messages.
- Message Sorting: Messages are sorted based on the number of likes.
- Frontend: HTML, CSS (using FontAwesome for icons)
- Backend: Node.js, Express.js
- Database: MongoDB
- Additional Libraries: EJS for templating, Body-parser for request parsing
- Clone the repository.
- Install the necessary dependencies:
npm install
- Start the server:
node server.js
- Access the application at
http://localhost:3000
.
- View Messages: All messages are displayed on the homepage.
- Add a Message: Use the form to submit a new message.
- Like/Dislike a Message: Click on the thumbs up/down icon to like/dislike a message.
- Delete a Message: Use the trash icon to remove a message.
Contributions to the development and enhancement of Savage are welcome:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeatureName
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeatureName
). - Create a new Pull Request.