Skip to content

A comprehensive e-commerce API built with Node.js, Express, TypeScript, and MongoDB. Features user authentication, product management, order processing, seller dashboards, and admin controls.

Notifications You must be signed in to change notification settings

sakayat/decshop-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DecShop Backend

A robust backend server for the DecShop e-commerce platform built with Node.js, Express, and TypeScript.

Features

  • User authentication and authorization
  • Seller management
  • Product management
  • Order processing
  • Category organization
  • Admin dashboard functionality
  • File uploads

Tech Stack

  • Node.js & Express
  • TypeScript
  • MongoDB with Mongoose
  • JWT for authentication
  • Multer for file uploads
  • Zod for validation

Getting Started

Prerequisites

  • Node.js (v14+)
  • MongoDB

Installation

  1. Clone the repository
git clone https://github.com/sakayat/decshop-backend.git
cd decshop-backend
  1. Install dependencies
npm install
  1. Create a .env file in the root directory with the following variables:
PORT=9000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
  1. Run the development server
npm run dev

API Routes

  • /api/users - User authentication and management
  • /api/seller - Seller dashboard and operations
  • /api/orders - Order processing and management
  • /api/admin - Admin dashboard operations
  • /api/category - Category management
  • /api/products - Product CRUD operations

About

A comprehensive e-commerce API built with Node.js, Express, TypeScript, and MongoDB. Features user authentication, product management, order processing, seller dashboards, and admin controls.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published