Skip to main content

Overview

StockAPI is a REST API built with Node.js, Express, and MongoDB designed for managing products and orders in a small market. It provides a complete solution for sellers to manage inventory, process orders, and handle customer inquiries.

Quick Start

Get started with StockAPI in minutes

API Reference

Explore all available endpoints

Authentication

Learn about JWT-based authentication

Docker Deployment

Deploy with Docker containers

Key Features

Product Management

Full CRUD operations for managing your inventory with stock tracking

Order Processing

Create and manage orders with automatic stock deduction

JWT Authentication

Secure API access with role-based authorization

Email Integration

Contact form functionality powered by Resend

MongoDB Database

Reliable data persistence with Mongoose ODM

Search Functionality

Find products quickly with built-in search

Tech Stack

StockAPI is built with modern technologies:
  • Node.js and Express for the server framework
  • MongoDB (Atlas) for cloud database hosting
  • Mongoose for elegant MongoDB object modeling
  • JWT for secure authentication and authorization
  • bcryptjs for password hashing
  • Resend for email functionality
  • Docker for containerization

Build docs developers (and LLMs) love