A simple Notes App built with Node.js, Express.js, and MongoDB.
This project provides REST APIs to manage notes (Create, Read, Delete), with proper logging using Winston and Morgan.
- Create, view, and delete notes
- Delete all notes at once
- MongoDB integration using Mongoose
- Logs HTTP requests and application events using Winston and Morgan
- CORS enabled
- Static frontend support from the
public/folder
notes-app/
├── public/ # Frontend static files (index.html, CSS, JS)
├── logs/ # Application logs (app.log)
├── app.js # Main server file
├── package.json
└── README.md
git clone https://github.com/sooryamuthuraj/notes-app.git
cd notes-appnpm installMake sure MongoDB is running locally on port 27017.
If you don’t have MongoDB installed, you can run it with Docker:
docker run -d -p 27017:27017 --name mongodb mongonode server.jsServer will run at:
http://localhost:3000
- Node.js + Express.js
- MongoDB + Mongoose
- Winston + Morgan for logging
- CORS
- Static frontend (served from
public/)
- Fork the repository
- Create a new branch (
git checkout -b feature-name) - Commit your changes (
git commit -m "Add new feature") - Push to your branch (
git push origin feature-name) - Open a Pull Request
This project is licensed under the MIT License.