A simple backend Notes application built with Express.js. Users can sign up, log in, create, read, update, and delete notes. Authentication is handled using JWT and cookies.
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT, cookies
- Other: bcryptjs for password hashing, cors, dotenv
- User signup and login
- Protected routes with JWT authentication
- CRUD operations on notes
- Password hashing and secure token cookies
my-project/
├─ backend/ # Express backend
├─ API.md # API documentation
├─ README.md # Project overview
- Clone the repository
git clone https://github.com/baseergroot/Notes-App-Backend.git- Install dependencies
cd backend
pnpm install- Set up
.envfile in backend with:
JWT_SECRET=your_jwt_secret
MONGO_URI=your_mongo_connection_string
NODE_ENV=development
- Run backend
pnpm devFor detailed API routes, requests, and responses, see API.md.
This project is for learning purposes.