Skip to content

StockPilot is a Node.js and Express.js API for managing products with CRUD operations, featuring PostgreSQL integration, data validation, pagination, and search functionality.

Notifications You must be signed in to change notification settings

themohitbharti/StockPilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StockPilot - Product Management APP

Description

The Simple Product Management API is a RESTful service built using Node.js and Express.js that allows users to manage a list of products. Users can perform CRUD (Create, Read, Update, Delete) operations on products, which are stored in a PostgreSQL database using Sequelize ORM. The API provides functionality to add, retrieve, update, and delete products, ensuring proper validation and error handling throughout the process.

Features

  • CRUD Operations: Create, read, update, and delete products.
  • Data Validation: Enforces required fields and types for product attributes.
  • Error Handling: Returns appropriate HTTP status codes and messages for various scenarios.
  • Pagination: Supports pagination for the product listing to improve performance.
  • Search Functionality: Allows users to search for products based on name or category.

Technologies Used

  • Node.js: JavaScript runtime for building scalable network applications.
  • Express.js: Web application framework for Node.js.
  • PostgreSQL: Relational database for storing product data.
  • Sequelize: ORM for managing database operations in a structured way.
  • dotenv: Module to load environment variables from a .env file.

Installation

  1. Clone the repository:

    git clone https://github.com/themohitbharti/StockPilot.git
    
  2. Navigate to the project directory:

    cd StockPilot
    
  3. Install dependencies::

    npm install
    
  4. Set up environment variables:

  5. Start the server:

    npm run start
    

I hope you find this Project Interesting!

About

StockPilot is a Node.js and Express.js API for managing products with CRUD operations, featuring PostgreSQL integration, data validation, pagination, and search functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published