Shoppy Core

Express + Prisma E-commerce Console

A beautifully structured, production-ready enterprise e-commerce REST API built with Node.js, Express, PostgreSQL, and Prisma ORM.

Server Gateway

Active

ORM & Database

Prisma + PG

Endpoints Suite

7 Module Router Groups
Core Authentication Endpoints
POST /api/v1/auth/otp/request
Generate and dispatch 6-digit OTP (logged in console)
Public
POST /api/v1/auth/otp/verify
Verify OTP code and return valid JWT token
Public
GET /api/v1/auth/google/mock
Bypass real OAuth for local developer testing (returns signed JWT)
Instant Login
Customer Shopping Endpoints
GET /api/v1/products
Retrieve products with search, pagination, and sorting
List Products
GET /api/v1/cart
Retrieve active customer cart (Requires Authorization Bearer JWT)
Customer JWT required