A full-featured backend for a simple Notepad/Task App built with Node.js, Express, and MongoDB. It supports user authentication, notes creation, editing, liking, deletion, and profile picture uploads.
๐ Live Website: Notepad Backend
- ๐ค User registration & login
- ๐ Protected routes using middleware
- ๐ Create, edit, delete, and like notes
- ๐ท Upload & update profile pictures
- ๐ผ๏ธ EJS templating for rendering views
- Backend: Node.js, Express
- Database: MongoDB (with Mongoose)
- Authentication: JWT, bcrypt, cookie-parser
- Templating Engine: EJS
- File Uploads: Multer
# Clone the repository
git clone https://github.com/your-username/notepad-backend.git
cd notepad-backend
# Install dependencies
npm install
# Start MongoDB server (make sure MongoDB is installed and running)
# Run the application
node app.js
# Visit in your browser
http://localhost:5001