An open API service indexing awesome lists of open source software.

https://github.com/rano-mal/add-products-by-import-excel-file

๐Ÿ“ฆ Inventory Management App (React + Excel Import) A simple and efficient React-based inventory system that lets you add items manually or import in bulk from Excel files. Built with MUI, Axios, XLSX, and json-server for local API testing.
https://github.com/rano-mal/add-products-by-import-excel-file

axios axios-react javascript json json-server mui-icons npm react react-material-ui reactjs

Last synced: 6 months ago
JSON representation

๐Ÿ“ฆ Inventory Management App (React + Excel Import) A simple and efficient React-based inventory system that lets you add items manually or import in bulk from Excel files. Built with MUI, Axios, XLSX, and json-server for local API testing.

Awesome Lists containing this project

README

          

# ๐Ÿ“ฆ Inventory Management App (React + Excel Import)

A modern React-based Inventory Management Tool that allows users to:

- โœ… Add inventory items manually via a modal form
- ๐Ÿ“ Import bulk data from Excel (.xlsx) files
- ๐Ÿ“Š View all items in an interactive DataGrid
- ๐Ÿ’พ Store data using `json-server` as a mock API (for local testing)
- ๐Ÿš€ Built with MUI, Axios, and XLSX

---

## ๐Ÿ“ธ Screenshots

| Add Item Modal | Excel Upload & Table View |
|----------------|---------------------------|
| ![SS01](https://github.com/user-attachments/assets/328ea1b5-c2b1-434a-ab6a-0ca975979608) | ![SS02](https://github.com/user-attachments/assets/f7224fc2-d4ed-476c-85f4-40bd2437950a) |
| ![SS03](https://github.com/user-attachments/assets/09a67ef6-9600-4bce-80cf-8c95057a1502) | ![SS04](https://github.com/user-attachments/assets/84d72e8a-c88e-4c20-a216-b06d02fabe49) |

---

## ๐Ÿง  Features

- ๐Ÿ“ฅ **Import Excel Files:** Upload `.xlsx` files and auto-populate the inventory table
- โœ๏ธ **Manual Entry Form:** Add items individually via a clean and user-friendly modal form
- ๐Ÿ” **Live Data Table:** View and scroll through real-time inventory in a MUI `DataGrid`
- โšก **API Integration:** Uses Axios to send/receive data to/from `json-server`
- ๐Ÿ”” **Notifications:** Success & error alerts via MUI Snackbar
- ๐Ÿงช **Testable API:** Simulate backend functionality using `json-server`

---

## ๐Ÿ›  Tech Stack

| Technology | Description |
|---------------|--------------------------------|
| React.js | Frontend JavaScript library |
| Material UI | Pre-built UI components |
| Axios | Promise-based HTTP client |
| XLSX | Parse and read Excel files |
| json-server | Mock REST API for local testing|

---

## ๐Ÿš€ Getting Started

### 1๏ธโƒฃ Clone the Repo

```bash
git clone https://github.com/your-username/inventory-app.git
cd inventory-app
```
### 2๏ธโƒฃ Install Dependencies
```bash
npm install
```
### 3๏ธโƒฃ Start JSON Server
```bash
npx json-server --watch db.json --port 4000
```
### 4๏ธโƒฃ Start React App
```bash
npm start
```
๐Ÿ“ Project Structure
```arduino
๐Ÿ“ฆ inventory-app
โ”œโ”€โ”€ public/
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ components/
โ”‚ โ”‚ โ””โ”€โ”€ InventoryOverview.jsx
โ”‚ โ”œโ”€โ”€ App.js
โ”‚ โ””โ”€โ”€ ...
โ”œโ”€โ”€ db.json <-- JSON Server DB
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md
```
Made with โค๏ธ by Rano Mal
---
Let me know if you'd like this customized with your name, GitHub repo link, or want a markdown version copy in a file!