Skip to content

AnshCoderRepo/Inventory_Management

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ Inventory Management System

Inventory Management Banner

Manage your inventory effortlessly while providing customers a seamless shopping experience!

This full-stack MERN application allows businesses to list and manage products and enables customers to browse, shop, and payβ€”all in one platform.

πŸš€ Features

  • Business Management: Add, update, and manage product details and inventory.
  • Customer Experience: Customers can explore products and make purchases easily.
  • Secure Payment: Integrated with Razorpay for hassle-free payment processing.

πŸ› οΈ Technologies

  • Frontend: React
  • Backend: Node.js & Express
  • Database: MongoDB
  • Authentication: JSON Web Token (JWT)
  • Payment Gateway: Razorpay

πŸ“‚ Project Structure

Inventory_Management/
β”‚
β”œβ”€β”€ Backend_Inventory_Management/   # Server-side code and API routes
β”‚
└── Frontend_Inventory_Managment/   # Client-side React application
    └── public/                     # Contains static assets (e.g., screenshots)

πŸ–ΌοΈ Screenshots

πŸ“¦ Login

Login Page

πŸ“¦ Signup

Signup page

πŸ“¦ ADMIN DASHBOARD

Business Dashboard

Business Dashboard

Orders Listing

Orders Listing

Products Listing

Orders Listing

πŸ“¦ USER DASHBOARD

User Home

Business Dashboard

Product Listing

Product Listing

Payment Page

Payment Page

Orders

Orders Page


βš™οΈ Setup & Installation

Follow these steps to set up the application locally:

1. Clone the Repository

git clone <repo_url>
cd Inventory_Management

2. Install Dependencies

Frontend

cd Frontend_Inventory_Managment
npm install

Backend

cd Backend_Inventory_Management
npm install

3. Configure Environment Variables

Frontend .env

Create a .env file in the Frontend_Inventory_Managment directory and add:

RZP_KEY_ID=your_key

Backend .env

Create a .env file in the Backend_Inventory_Management directory and add:

PORT=3000
MONGO_URI=your_db_uri
API_VARI=your_api_variant
PASS=your_app_id
JWT_SECRET=your_jwt_secret
EMAIL=your_email
RZP_KEY_ID=your_key_id
RZR_KEY_SECRET=your_key_secret

Replace placeholders (your_key, your_db_uri, etc.) with actual credentials.


4. Run the Application

Backend

cd Backend_Inventory_Management
npm start

Frontend

Open a new terminal and run:

cd Frontend_Inventory_Managment
npm start

Access the application at http://localhost:3000.


πŸ“‹ API Documentation

Example Endpoints

  • POST /api/products: Add a new product to the inventory.
  • GET /api/products: Fetch all available products.
  • POST /api/payment: Handle customer payments.

For more details, refer to the backend code.


🀝 Contributing

We welcome contributions!

  1. Fork the repository.
  2. Create a feature branch.
  3. Submit a pull request.

πŸ“œ License

This project is licensed under the MIT License.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.3%
  • CSS 22.7%
  • SCSS 11.1%
  • HTML 0.9%