A modern, minimalist notes application built with the MERN stack (MongoDB, Express, React, Node.js) featuring real-time updates and rate limiting.
🔗 Tutorial (Notion): MERN Simplest Notes Guide
🔗 Live Demo (Render): Live Demo
-
📋 Full CRUD Operations
- Create, read, update, and delete notes
- Real-time updates
- Markdown support
-
🛡️ Security
- Rate limiting protection
- Error handling
- Input validation
-
💅 Modern UI/UX
- Responsive design
- Dark/Light mode
- Toast notifications
- Loading states
- Node.js >= 14.x
- MongoDB instance
- Git
- Clone the repository
git clone https://github.com/ItsNehaOjha/NoteStack.git
cd NoteStack
- Set up backend
cd backend
npm install
cp .env.example .env # Configure your environment variables
- Set up frontend
cd ../frontend
npm install
- Start development servers
# Terminal 1 - Backend
cd backend
npm run dev
# Terminal 2 - Frontend
cd frontend
npm run dev
- React 18 (Vite)
- React Router v6
- Tailwind CSS
- DaisyUI
- Axios
- React Hot Toast
- Node.js
- Express.js
- MongoDB + Mongoose
- Rate Limiting
- CORS
Method | Endpoint | Description |
---|---|---|
GET | /api/notes | Get all notes |
POST | /api/notes | Create new note |
PUT | /api/notes/:id | Update note |
DELETE | /api/notes/:id | Delete note |
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit changes (
git commit -m 'Add some AmazingFeature'
) - Push to branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Neha Ojha - @Linkdin
Project Link: https://github.com/ItsNehaOjha/NoteStack