A simple full-stack notes application built with React, Node.js, Express, and MongoDB.
- Create, Read, Update, Delete (CRUD) notes
- Markdown support
- Categorize notes by folder
- Search and Pagination
- Responsive UI
- Node.js (v18+)
- MongoDB (local or via Docker)
-
Start Backend & Database
docker-compose up --build
-
Start Frontend
cd frontend npm install npm run dev -
Open http://localhost:5173 in your browser.
- Navigate to
backend/ - Install dependencies:
npm install - Create
.envfile (copy from.env.example):cp .env.example .env
- Start server:
npm run dev- Server runs on
http://localhost:5000
- Server runs on
- Navigate to
frontend/ - Install dependencies:
npm install - Start dev server:
npm run dev- App runs on
http://localhost:5173
- App runs on
cd backend
npm testGET /api/notes- List notesPOST /api/notes- Create noteGET /api/notes/:id- Get notePUT /api/notes/:id- Update noteDELETE /api/notes/:id- Delete noteGET /api/notes/folders/list- List folders