http POST /api/login
Parameter | Type | Description |
---|---|---|
email |
string |
Required Unique Enter your email |
password |
string |
Required. Enter your password |
http GET /api/get-all-users
Description |
---|
This API returns a list of all user |
http GET /api/get-user-by-id?_id={_id}
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID |
http POST /api/update-user
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID |
username |
string |
. Enter username if you want to update username |
password |
string |
.Enter password if you want to update it |
http POST /api/delete-user
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID to delete user |
http POST /api/create-category
Parameter | Type | Description |
---|---|---|
CategoryName |
string |
Required Unique Enter Category name |
CategoryImage |
string |
Required. Upload Category Image |
http GET /api/get-all-categories
Description |
---|
This API returns a list of all Categories |
http GET /api/get-category-by-id?_id={_id}
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID |
http POST /api/update-category
Parameter | Type | Description |
---|---|---|
CategoryName |
string |
Required. Enter Category Name |
CategoryImage |
string |
Upload Category Image |
http POST /api/delete-category
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID to delete Category |
http POST /api/create-product
Parameter | Type | Description |
---|---|---|
ProductName |
string |
Required Enter Product Name |
price |
number |
Required. Enter Product price |
category |
string |
Required. Enter Product Category |
image |
string |
Required. Upload Product Thumbnail |
http GET /api/get-all-products
Description |
---|
This API returns a list of all Products |
http GET /api/get-product-by-id?_id={_id}
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID |
http GET /api/get-product-by-name?name={ProductName}
Parameter | Type | Description |
---|---|---|
ProductName |
string |
Required. Enter Product name |
http POST /api/update-product
Parameter | Type | Description |
---|---|---|
_id |
string |
Required Enter ID |
ProductName |
string |
Enter Product Name |
price |
number |
Enter Product price |
category |
string |
Enter Product Category |
image |
string |
Upload Product Thumbnail |
http POST /api/delete-product
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID to delete Product |
http POST /api/create-order
Parameter | Type | Description |
---|---|---|
items |
Array |
Required Enter list of items in array |
totalBill |
string |
Required. Enter total amount |
customerName |
string |
Required. Enter Customer Name |
http GET /api/get-all-order
Description |
---|
This API returns a list of all ORDERS |
HTTP Request GET /api/get-order-by-id?_id={_id}
Parameter | Type | Description |
---|---|---|
_id |
string |
Required. Enter ID |
Efficient point-of-sale systems are essential for enhancing customer experiences and optimizing operations. Our POS MERN (MongoDB, Express.js, React, Node.js) Stack Project delivers a modern and feature-rich solution for businesses.
Our POS MERN Stack Project provides businesses with a powerful tool for managing sales, inventory, and customer interactions. Leveraging MongoDB, Express.js, React, and Node.js, this application offers a seamless point-of-sale experience.
npm install
.npm run start
.Our POS MERN Stack Project empowers businesses with a versatile point-of-sale solution. Built with MongoDB, Express.js, React, and Node.js, it offers streamlined operations and enhanced customer experiences in today's dynamic marketplace.