Skip to content

SooryaMuthuraj/notes-app-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Notes App (Node.js + Express + MongoDB)

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.


🚀 Features

  • 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

📂 Project Structure

notes-app/
├── public/               # Frontend static files (index.html, CSS, JS)
├── logs/                 # Application logs (app.log)
├── app.js                # Main server file
├── package.json
└── README.md

⚙️ Setup Instructions

1. Clone the repository

git clone https://github.com/sooryamuthuraj/notes-app.git
cd notes-app

2. Install dependencies

npm install

3. Start MongoDB

Make 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 mongo

4. Start the server

node server.js

Server will run at:

http://localhost:3000

📜 Tech Stack

  • Node.js + Express.js
  • MongoDB + Mongoose
  • Winston + Morgan for logging
  • CORS
  • Static frontend (served from public/)

🤝 Contributing

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-name)
  3. Commit your changes (git commit -m "Add new feature")
  4. Push to your branch (git push origin feature-name)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License.

About

Cool notes app with breathing colour changing style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published