Skip to content

ItsNehaOjha/NoteStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 NoteStack - MERN Notes App

A modern, minimalist notes application built with the MERN stack (MongoDB, Express, React, Node.js) featuring real-time updates and rate limiting.

🔗 Tutorial (Notion): MERN Simplest Notes Guide
🔗 Live Demo (Render): Live Demo

✨ Features

  • 📋 Full CRUD Operations

    • Create, read, update, and delete notes
    • Real-time updates
    • Markdown support
  • 🛡️ Security

    • Rate limiting protection
    • Error handling
    • Input validation
  • 💅 Modern UI/UX

    • Responsive design
    • Dark/Light mode
    • Toast notifications
    • Loading states

🚀 Quick Start

Prerequisites

  • Node.js >= 14.x
  • MongoDB instance
  • Git

Installation

  1. Clone the repository
git clone https://github.com/ItsNehaOjha/NoteStack.git
cd NoteStack
  1. Set up backend
cd backend
npm install
cp .env.example .env    # Configure your environment variables
  1. Set up frontend
cd ../frontend
npm install
  1. Start development servers
# Terminal 1 - Backend
cd backend
npm run dev

# Terminal 2 - Frontend
cd frontend
npm run dev

🛠️ Tech Stack

Frontend

  • React 18 (Vite)
  • React Router v6
  • Tailwind CSS
  • DaisyUI
  • Axios
  • React Hot Toast

Backend

  • Node.js
  • Express.js
  • MongoDB + Mongoose
  • Rate Limiting
  • CORS

📝 API Endpoints

Method Endpoint Description
GET /api/notes Get all notes
POST /api/notes Create new note
PUT /api/notes/:id Update note
DELETE /api/notes/:id Delete note

🌟 Contributing

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

📜 License

Distributed under the MIT License. See LICENSE for more information.

👥 Contact

Neha Ojha - @Linkdin

Project Link: https://github.com/ItsNehaOjha/NoteStack

🙏 Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published