/savage-auth

Primary LanguageJavaScriptMIT LicenseMIT

Savage - Secure Messaging Application

Overview

Savage is a secure messaging application enhanced with user authentication. Users can sign up, log in, post messages, like/dislike, and delete them. It offers a secure platform for users to interact and share messages.

Features

  • User Authentication: Secure signup and login functionality.
  • Post Messages: Authenticated users can post new messages.
  • Like/Dislike Messages: Users can react to messages with thumbs up/down icons.
  • Delete Messages: Option to delete messages.
  • Sorted Messages: Display messages sorted by the number of likes.

Technologies

  • Frontend: HTML, CSS (FontAwesome for icons)
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • User Authentication: Passport.js
  • Additional Libraries: EJS for templating, Body-parser for parsing requests

Installation

  1. Clone the repository.
  2. Install the necessary dependencies:
    npm install
  3. Start the server:
    node server.js
  4. Access the application at http://localhost:8080 or the designated port.

Usage

  1. Sign Up/Login: Securely sign up or log in to access the messaging features.
  2. View Messages: Browse through messages on the profile page.
  3. Add Messages: Submit new messages using the form.
  4. React to Messages: Use the thumbs up/down icons to like or dislike messages.
  5. Delete Messages: Remove messages using the trash icon.

Contributing

We welcome contributions to enhance the Savage messaging app:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeatureName).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeatureName).
  5. Create a new Pull Request.