Skip to content

RESTful API built with Node.js, Express, TypeScript & MongoDB. Includes CRUD for clients/products/orders, Swagger docs, and extensible structure.

Notifications You must be signed in to change notification settings

danlb-dev/express-mongo-crud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-mongo-crud-api

A simple RESTful API built with Node.js, Express, TypeScript, and MongoDB.
This project provides full CRUD support for managing Clients, Products, and Orders.
It was designed to be consumed by frontend apps like a CRM.

Note: This repository is a personal study and demonstration project, created solely for my learning and portfolio purposes.


Features

  • CRUD operations for:
    • Clients
    • Products
    • Orders
  • Swagger documentation for easy testing and onboarding
  • TypeScript + Express structured and modular codebase
  • MongoDB with Mongoose ODM
  • Centralized error handling middleware for clean and consistent error responses
  • Environment-based configuration using .env files

🚀 Tech Stack

  • Node.js (v18+)
  • TypeScript
  • Express
  • MongoDB with Mongoose
  • Swagger (OpenAPI) for API documentation
  • dotenv for environment variable management

📦 Getting Started

Prerequisites

Installation

git clone https://github.com/danlb-dev/express-mongo-crud-api.git
cd express-mongo-crud-api
npm install
npm run start

Then open your browser at http://localhost:3200 to view the Swagger documentation.

About

RESTful API built with Node.js, Express, TypeScript & MongoDB. Includes CRUD for clients/products/orders, Swagger docs, and extensible structure.

Topics

Resources

Stars

Watchers

Forks