This repository contains a NestJS-based product management API for an online store. It provides essential endpoints for managing products, including creating, retrieving, updating, and deleting product information. This repository serves as the backend component of the online store application.
These instructions will help you set up and run the project on your local machine for development and testing purposes.
Before you begin, make sure you have the following software installed:
-
Clone this repository to your local machine:
git clone https://github.com/your-username/nestjs-product-management.git
-
Navigate to the project directory:
cd nestjs-product-management
-
Install the project dependencies:
npm install
To start the NestJS application, use the following command:
npm run start
By default, the application runs on http://localhost:3000
.
GET /products
: Retrieve a list of all products.GET /products/{id}
: Retrieve details of a specific product by ID.POST /products
: Create a new product.PATCH /products/{id}
: Update an existing product.DELETE /products/{id}
: Delete a product by ID.
For more details on how to use these endpoints, refer to the API documentation.
We welcome contributions to improve this project! If you'd like to contribute, please follow our Contribution Guidelines.
- NestJS: https://nestjs.com/
- GitHub: https://github.com/
For any questions or inquiries, please contact Diwakar Singh.