Skip to content

This Node.js application, built with TypeScript, Express, and MongoDB, offers an API to manage products and orders with functionalities for creating, retrieving, updating, and deleting.

Notifications You must be signed in to change notification settings

TalhaT298/product-order-crud

Repository files navigation

product-order-crud

This is a Node.js application built with TypeScript, Express, and MongoDB. It provides an API for managing products and orders. The application includes functionalities such as creating, retrieving, updating, and deleting products, as well as creating and retrieving orders.

Prerequisites

Make sure you have the following installed on your local machine:

  • Node.js (v14 or later)
  • npm (v6 or later)
  • MongoDB (running locally or a connection URL)

Installation

  1. Clone the repository

    git clone https://github.com/TalhaT298/Assingment-2-Level-2
    
    

    cd repository-directory

  2. Install dependencies

npm install

Set up environment variables

Create a .env file in the root directory of your project and add the following variables:

PORT=5000 DATABASE_URL=mongodb://localhost:27017/your-database-name

About

This Node.js application, built with TypeScript, Express, and MongoDB, offers an API to manage products and orders with functionalities for creating, retrieving, updating, and deleting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published