Skip to content

divysaxena24/MindShare-Project

Repository files navigation

🧠 MindShare - Share Your Thoughts Freely

MindShare is a web-based platform that allows users to freely share messages, thoughts, and ideas with others.
It promotes open communication, mental well-being, and community interaction in a distraction-free, clean UI.


🚀 Features

  • 📝 Post anonymous or named thoughts
  • 💬 View messages shared by others
  • 📱 Fully responsive on all devices
  • 🛠️ Easy to extend with new features (e.g., likes, comments, login)

🌐 Tech Stack

Technology Role
HTML5, CSS3, JavaScript Frontend
Bootstrap/Tailwind CSS Styling & Responsiveness
Node.js + Express.js Backend
MongoDB Database
EJS (if used) Templating Engine

📦 Getting Started

1. Clone the repository

git clone https://github.com/divysaxena24/MindShare-Project.git
cd MindShare-Project

2. Install dependencies

npm install

3. Set up environment variables

Create a .env file in the root directory and add your MongoDB URI:

MONGO_URI=your_mongodb_connection_string
PORT=3000

4. Run the server

npm start

Visit: http://localhost:3000


🎯 Difficulty Levels (Optional Extension)

You can easily extend this platform to include:

  • 🎲 Post visibility filters (public/private)
  • 🧠 Post categories (Motivation, Confession, Query, Random)
  • 🔢 Add a scoring or timer system for interactive posts

🧪 JUnit Test Cases

If you're using Java for backend or testing logic, you can include unit tests like:

@Test
public void testPostCreation() {
    MindSharePost post = new MindSharePost("Anonymous", "Stay kind.");
    assertEquals("Stay kind.", post.getMessage());
}

✅ Add test cases for:

  • Empty message submission
  • Long message truncation
  • Invalid user input handling

🤝 Contributing

Contributions are welcome!

  1. Fork this repo
  2. Create a new branch:
    git checkout -b feature-name
  3. Make your changes
  4. Commit:
    git commit -m "Added feature"
  5. Push to your branch:
    git push origin feature-name
  6. Submit a pull request ✅

🙏 Acknowledgements

  • Inspired by the need to share minds without judgment
  • Built as part of a personal mission to promote mental well-being through expression
  • Thanks to all contributors, testers, and the open-source community 💙

Screenshot 2025-04-18 000440 Screenshot 2025-04-18 000433 Screenshot 2025-04-17 235739

Screen.Recording.2025-04-17.235510.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published