A simple full-stack Notes application built using the MERN stack.
- Create notes
- View all notes
- Update notes
- Delete notes
- Export PDF
- MongoDB Atlas integration
- REST API
- MVC backend architecture
- React frontend
- Axios API handling
- Environment variables support
- React
- Vite
- Axios
- CSS
- Node.js
- Express.js
- MongoDB Atlas
- Mongoose
simple-note/
│
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── .env
│ ├── package.json
│ └── server.js
│
└── frontend/
├── src/
├── .env
├── package.json
└── vite.config.jsClone Repository
git clone YOUR_REPOSITORY_URLNavigate to backend
cd backendInstall dependencies
npm installCreate .env
MONGO_URI=YOUR_MONGODB_CONNECTION_STRING
PORT=5000Start backend server
npm run devFrontend Setup Navigate to frontend
cd frontendInstall dependencies
npm installCreate .env
VITE_API_URL=http://localhost:5000Start frontend server
npm run dev| Method | Route | Description |
|---|---|---|
| GET | /notes | Get all notes |
| GET | /notes/:id | Get single note |
| POST | /notes | Create note |
| PUT | /notes/:id | Update note |
| DELETE | /notes/:id | Delete note |
Hariharasudhan D