Skip to content

A RESTful e-commerce backend API built with Node.js, Express, and MongoDB. Includes product, user, and order management features.

Notifications You must be signed in to change notification settings

emazouz/ecommerce-api-nodejs

Repository files navigation

E-commerce API – Node.js Backend

This project is a fully functional backend API for an e-commerce application. Built using Node.js, Express, and MongoDB, it provides core features needed to power an online store.

🛒 Features

  • User registration and authentication
  • Product management (CRUD)
  • Order creation and tracking
  • Cart logic and checkout system (basic)
  • Secure API endpoints using JWT
  • Environment variables support via dotenv

🛠 Technologies Used

  • Runtime: Node.js
  • Framework: Express.js
  • Database: MongoDB
  • Environment Management: dotenv
  • Language: JavaScript

📦 Endpoints Overview

  • POST /api/auth/register – Register new users
  • POST /api/auth/login – Authenticate users
  • GET /api/products – List products
  • POST /api/orders – Create an order
  • ... and more

🚀 Status

Complete and ready to be connected with a frontend (React, Next.js, etc.) for full-stack development

About

A RESTful e-commerce backend API built with Node.js, Express, and MongoDB. Includes product, user, and order management features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published