Skip to content

This is a basic product order management server application built with Express, Mongoose, and TypeScript.

Notifications You must be signed in to change notification settings

shohan-pherones/batch-3-assignment-2

Repository files navigation

Product Order Management Server App

Introduction

This is a basic product order management server application built with Express, Mongoose, and TypeScript.

Features

  • Products:
    • Create product
    • Get all products
    • Update product
    • Delete product
    • Get single product by ID
    • Search product by keywords
  • Orders:
    • Create order
    • Get all orders
    • Get order by email

Tools and Technologies

  • Backend Framework: Express
  • Programming Language: TypeScript
  • Schema Validation: Zod
  • Database: MongoDB with Mongoose
  • Code Quality: ESLint, Prettier, Husky

Installation

  1. Clone the repository:
 git clone https://github.com/shohan-pherones/batch-3-assignment-2.git
  1. Create a .env file in the root of the project and add the following environment variables:
NODE_ENV=
PORT=
DB_URL=

You can also check the .env.example file for reference.

  1. Install the required packages:
npm install
  1. Run the application for local development:
npm run start:dev

Useful Links

About

This is a basic product order management server application built with Express, Mongoose, and TypeScript.

Topics

Resources

Stars

Watchers

Forks