Skip to main content

Welcome to E-commerce API

Build powerful e-commerce applications with our modern, secure REST API. Features complete authentication, product management, shopping cart functionality, and order processing.

Quickstart

Get started in minutes with your first API request

API Reference

Explore all available endpoints and parameters

Authentication

Learn about JWT-based authentication and security

Docker Deployment

Deploy with Docker and docker-compose

Key Features

JWT Authentication

Secure JWT-based authentication with role-based access control (customer/admin)

Product Management

Complete product catalog with categories, image uploads via Cloudinary, and inventory tracking

Shopping Cart

Persistent shopping cart functionality with add, update, remove, and clear operations

Order Processing

Full order creation and management system with order history and status tracking

Rate Limiting

Built-in rate limiting to protect against abuse and ensure API stability

Type Safety

Built with TypeScript and Prisma ORM for end-to-end type safety

Technology Stack

Built with modern, battle-tested technologies:
  • Express.js - Fast, minimalist web framework
  • Prisma ORM - Next-generation TypeScript ORM
  • MySQL - Reliable relational database
  • JWT - Industry-standard authentication
  • Cloudinary - Cloud-based image management
  • Docker - Containerized deployment

Getting Started

1

Install dependencies

Set up your development environment with Node.js and MySQL
2

Configure environment

Set up your environment variables for database, JWT, and Cloudinary
3

Run migrations

Initialize your database schema with Prisma migrations
4

Make your first request

Register a user and start using the API

View Installation Guide

Complete installation instructions and environment setup

Build docs developers (and LLMs) love