This project demonstrates a RESTful API built with Node.js, Express, TypeScript, and MongoDB, featuring user authentication and CRUD operations. It was developed to practice backend architecture, authentication flows, database integration, and API testing using Restfox.
- Built with Node.js and Express
- Written in TypeScript
- Database: MongoDB
- Authentication (login & register endpoints)
- CRUD operations for data management
- API testing with Restfox
The API allows users to:
- Register and log in securely with JWT authentication
- Perform CRUD operations on stored data
- Connect to a MongoDB database
- Test endpoints easily using Restfox
git clone https://github.com/username/repository-name.git
cd repository-name
npm install
npm run dev
Server runs at:
http://localhost:8000
- Register → Create a new user with encrypted password.
- Login → Authenticate and receive a token.
- Use Token → Access protected routes (CRUD operations).
- Node.js & Express
- TypeScript
- MongoDB & Mongoose
- JWT Authentication
- Restfox
This project shows how to build a secure REST API with authentication, database operations, and clean TypeScript code. The screenshots illustrate the full flow — from registration to login, CRUD operations, and database verification.
It can be extended with:
- Role-based authorization
- Advanced input validation
- Deployment on platforms like AWS, Render, or Docker