/Ecommerce-API

A E-commerce REST API using Node.js, Express.js, PostgreSQL, Redis, Prisma

Primary LanguageJavaScript

Ecommerce-API

A REST API for online e-commerce system

Features:

  • Token based Authentication and Authorization
  • Scalable Shopping cart using redis
  • Refresh tokens for preventing unauthorized access by blocking compromised or invalid tokens.
  • Products listing
  • Order placements
  • Sending Email
  • Payment
  • File upload
  • Custom Error Handling
  • Full Text Search
  • Database transactions
  • Server Side pagination
  • Server side schema validation.
  • API Rate Limiting
  • API Caching
  • Dependency injection
  • Swagger

Technology Stack:

  • Node js
  • Express Js
  • PostgreSQL
  • Redis

Entity Relationship Diagram:

Usage

"/.env" update the values/settings to your own

Install Dependencies

npm install

Run App

# Run in dev mode
npm start