A modern blogging platform, built with Node.js, Express, and MongoDB.
- 🎨 Modern, Apple-inspired UI/UX design
- 📝 Markdown support for article writing
- 🌓 Dark mode with system preference sync
- 🔖 Article bookmarking functionality
- 📱 Responsive design for all devices
- 🔍 Real-time search functionality
- 📂 Category-based article organization
- 🚀 Auto-saving drafts
- 👤 User authentication
- 📊 Rich text editor with toolbar
- Frontend: EJS, Bootstrap 5, Custom CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: bcrypt
- Other: Marked (Markdown parsing), DOMPurify (Security)
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/thoughtthread.git cd thoughtthread -
Install dependencies:
npm run setup
-
Create a
.envfile in the root directory:MONGODB_URI=your_mongodb_connection_string SESSION_SECRET=your_session_secret PORT=5000
-
Start the development server:
npm run dev
The application will be available at http://localhost:5000
thoughtthread/
├── models/ # Database models
├── public/ # Static files
│ ├── images/
│ └── styles/
├── routes/ # Route handlers
├── views/ # EJS templates
│ ├── articles/
│ └── partials/
├── server.js # Application entry point
├── package.json
└── README.md
npm run dev- Start development server with hot reloadnpm start- Start production servernpm run setup- Install dependencies and setup project
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Design inspired by Apple's modern UI/UX principles
- Icons from Font Awesome
- Markdown support powered by Marked
Your Name - @yourusername
Project Link: https://github.com/yourusername/thoughtthread


