MERN Backend with TypeScript
This project is a backend API built using Node.js, Express, TypeScript, MongoDB, and JWT.
It demonstrates secure authentication, middleware usage, and clean API design.
🚀 Features
- User authentication with JWT
- Auth middleware using TypeScript
- Protected routes
- Secure APIs (password & refresh token not exposed)
- MongoDB with Mongoose
- Clean project structure
🛠 Tech Stack
- Node.js
- Express.js
- TypeScript
- MongoDB + Mongoose
- JWT Authentication
🔐 Authentication Flow
- User logs in and receives an access token
- Auth middleware verifies JWT
- Authenticated user data is attached to the request
- Protected routes access user information securely
▶️ Getting Started
1. Clone the repository
git clone git@github.com:nancy787/ProjectNet.git
cd TaskProjectNet