Billing System Node.js Server

This is a Node.js server implementation for a billing system

Table of Contents

Features

  • User account creation
  • Adding and removing items from the cart
  • Calculating total bill with taxes
  • Confirming orders
  • Admin access to view all orders

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (Make sure MongoDB server is running)

Installation

  1. Clone this repository:
    git clone https://github.com/SaiSwarup27/BillingSystem.git
    cd BillingSystem
    
  2. Install Dependencies
    npm install
    

Database Setup

  • Ensure that your MongoDB server is running.
  • Update the database connection URL in config/database.js to match your MongoDB configuration.

Running the Server

  • Start the server using the following command:
    npm start
    

API Documentation

Postman Collection