GitHub - nancy787/ProjectNet: it is a saas application

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

  1. User logs in and receives an access token
  2. Auth middleware verifies JWT
  3. Authenticated user data is attached to the request
  4. Protected routes access user information securely

▶️ Getting Started

1. Clone the repository

git clone git@github.com:nancy787/ProjectNet.git
cd TaskProjectNet