Brains is a full-stack MERN (MongoDB, Express, React, Node.js) application that allows authenticated users to manage notes and learning content efficiently — enabling them to create, update, and delete their materials with ease.
- ✅ User authentication with JWT
- ✅ Create, edit, delete, and view notes/content
- ✅ Responsive UI with a clean, modern design
- ✅ RESTful API architecture
- ✅ Modular, scalable code structure
(Add screenshots here — e.g., Sign In page, Dashboard, Note Editor, etc.)
Frontend
- React
- TypeScript
- Tailwind CSS
Backend
- Node.js
- Express
- TypeScript
Database
- MongoDB (via Mongoose)
Authentication
- JSON Web Token (JWT)
Deployment
- Backend: Render
- Frontend: Vercel
brains/
│
├── client/ # React frontend
│ ├── src/
│ ├── public/
│ └── ...
│
├── server/ # Node.js/Express backend
│ ├── src/
│ └── ...
│
└── package.json # Project metadata and scripts
Backend (server/.env):
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_keyFrontend (client/.env):
VITE_BACKEND_URL=http://localhost:5000git clone https://github.com/rishav76dev/brains.git
cd brainsBackend
cd server
npm installFrontend
cd ../client
npm installBackend
npm run devFrontend
npm run dev- Frontend: http://localhost:5173
- Backend: http://localhost:5000
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/signup |
User registration |
| POST | /api/auth/login |
User login |
| GET | /api/content |
Get all content for the user |
| POST | /api/content |
Create new content |
| PUT | /api/content/:id |
Update content |
| DELETE | /api/content/:id |
Delete content |
- Backend: Render
- Frontend: Vercel
Pull requests are welcome!
- Fork the repository
- Create a feature branch
git checkout -b feature/your-feature
- Commit your changes
git commit -m "Add your feature" - Push to your branch
git push origin feature/your-feature
- Open a pull request
This project is licensed under the MIT License.
- GitHub: @rishav76dev
- Twitter: @rishav76dev