A full-stack note-taking application built with the MERN stack (MongoDB, Express.js, React, Node.js) featuring rate limiting and a modern frontend.
MERN-NoteNest/
├── backend/
│ ├── src/
│ │ ├── config/
│ │ ├── controllers/
│ │ ├── middleware/
│ │ ├── models/
│ │ ├── routes/
│ │ └── server.js
│ └── package.json
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── lib/
│ │ ├── pages/
│ │ ├── App.jsx
│ │ ├── index.css
│ │ └── main.jsx
│ ├── public/
│ ├── package.json
│ └── ...
├── package.json
└── README.md
- Node.js (v18+ recommended)
- MongoDB instance (local or cloud)
- Navigate to the backend folder:
cd backend - Install dependencies:
npm install
- Configure environment variables (MongoDB URI, Upstash credentials, etc.)
- Start the backend server:
npm start
- Navigate to the frontend folder:
cd frontend - Install dependencies:
npm install
- Start the frontend development server:
npm run dev
GET /api/notes- List all notesPOST /api/notes- Create a new noteGET /api/notes/:id- Get a note by IDPUT /api/notes/:id- Update a noteDELETE /api/notes/:id- Delete a note

