Skip to content
Hananiah Asare

E-Commerce API

Commerce backend with cookie auth, input validation, rate limiting and scheduled background jobs.

Express · MongoDB

overview

A standalone commerce API covering catalogue, accounts and orders. Written as a focused backend exercise before the full-stack ShopAPI build.

highlights

  • Cookie-based sessions with bcrypt-hashed credentials
  • Field validation with validator
  • Rate limiting and Helmet security headers
  • Scheduled background jobs via node-cron

stack

Framework

Express Node.js

Database

MongoDB Mongoose

Auth

bcrypt cookie-parser

Security

Helmet express-rate-limit validator

Jobs

node-cron