SecondBrain is a full-stack application built with React, Tailwind CSS, TypeScript, Node.js, and MongoDB, designed to help you store, manage, and share your favorite links, notes, tweets, and videos — like a second digital brain.
- 🔐 Sign In / Sign Up flow
- 🎯 Add, view, and organize content (YouTube videos, tweets, notes)
- 📤 Share your brain with a unique public link
- 🧩 Clean UI using Tailwind CSS
- 💾 Secure backend using Express and MongoDB
- Frontend: React + TypeScript + Tailwind CSS
- Backend: Node.js + Express + TypeScript + MongoDB
git clone https://github.com/inaveed-git/secondbrain.git
cd secondbraincd backend
npm install- Rename
.env.simpleto.env - Add your MongoDB connection string and JWT secret in the
.envfile:
MONGO_URL=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret- Start the backend server:
npm run devBackend runs on
http://localhost:3000
cd frontend
npm install
npm run devFrontend runs on
http://localhost:5173
POST /v1/api/user/signup // Register user
POST /v1/api/user/login // Login userPOST /v1/api/content/new // Add new content
GET /v1/api/content/get // Get user contentPOST /v1/api/brain/create // Create public brain share link
GET /v1/api/brain/:shareLink/get // Access shared brain by linkThis project is complete from the learning perspective — but your contributions are welcome! Feel free to fork, clone, and send a pull request.
This project is open-source under the MIT License.
Made with ❤️ by Naveed Khan