A comprehensive knowledge management system that helps you organize, store, and retrieve your thoughts, notes, and bookmarks efficiently. Built with modern web technologies for a seamless user experience.
- Live Application: https://second-brain-project.vercel.app/
- GitHub Repository: https://github.com/satyam0777/Second-Brain-Project
- Notes Management: Create, edit, organize, and search your notes with a rich text interface
- Bookmarks: Save and categorize web links for easy access
- Favorites: Mark important notes and bookmarks for quick retrieval
- Comments: Add context and thoughts to your saved content
- Analytics: Visualize your knowledge base with interactive charts and insights
- Advanced Search: Find anything quickly with powerful search functionality
- Activity Tracking: Monitor your productivity and usage patterns
- Modern UI: Clean, responsive interface built with Tailwind CSS and Framer Motion
- Secure Authentication: JWT-based authentication system
- Dashboard: Get an overview of your entire knowledge base at a glance
- React 19 - Modern UI library
- Vite - Fast build tool and dev server
- Tailwind CSS 4 - Utility-first CSS framework
- React Router Dom - Client-side routing
- Framer Motion - Smooth animations
- Axios - HTTP client
- Recharts - Data visualization
- Lucide React - Beautiful icons
- Node.js - JavaScript runtime
- Express - Web framework
- MongoDB - NoSQL database
- Mongoose - MongoDB ODM
- JWT - Authentication tokens
- bcryptjs - Password hashing
second-brain/
├── frontend/ # React frontend application
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Page components
│ │ ├── api/ # API integration layer
│ │ └── assets/ # Static assets
│ └── public/ # Public files
│
├── SecondBrain-backend/ # Express backend server
│ ├── config/ # Configuration files
│ ├── controllers/ # Route controllers
│ ├── models/ # Database models
│ ├── routes/ # API routes
│ ├── middleware/ # Custom middleware
│ └── utils/ # Utility functions
│
└── docs/ # Documentation
- Node.js (v16 or higher)
- MongoDB (local or Atlas)
- npm or yarn
-
Clone the repository
git clone https://github.com/satyam0777/Second-Brain-Project.git cd Second-Brain-Project -
Setup Backend
cd SecondBrain-backend npm installCreate a
.envfile in the backend directory:PORT=5000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key NODE_ENV=development
-
Setup Frontend
cd frontend npm installCreate a
.envfile in the frontend directory:VITE_API_URL=http://localhost:5000
-
Start the Backend Server
cd SecondBrain-backend npm run devThe server will run on
http://localhost:5000 -
Start the Frontend Development Server
cd frontend npm run devThe application will run on
http://localhost:5173 -
Open your browser and navigate to
http://localhost:5173
| Variable | Description | Required |
|---|---|---|
| PORT | Server port number | Yes |
| MONGODB_URI | MongoDB connection string | Yes |
| JWT_SECRET | Secret key for JWT tokens | Yes |
| NODE_ENV | Environment mode | Yes |
| Variable | Description | Required |
|---|---|---|
| VITE_API_URL | Backend API URL | Yes |
The backend provides the following API endpoints:
- Authentication:
/api/auth- Register, login, logout - Notes:
/api/notes- CRUD operations for notes - Bookmarks:
/api/bookmarks- Manage bookmarks - Comments:
/api/comments- Add and manage comments - Favorites:
/api/favorites- Mark/unmark favorites - Dashboard:
/api/dashboard- Dashboard statistics - Analytics:
/api/analytics- Usage analytics - Search:
/api/search- Global search - Activity:
/api/activity- Activity logs
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License.
Satyam Prajapati
- GitHub: @satyam0777
- React team for the amazing framework
- Tailwind CSS for the utility-first CSS framework
- MongoDB for the database solution
- Vercel for hosting the application
Made with ❤️ by Satyam Prajapati





