Skip to content

StockFlow is a full-stack inventory management web application designed to streamline stock tracking, warehouse management, and data visualization for small to medium-sized businesses.

License

Notifications You must be signed in to change notification settings

RudraMudra/Inventory-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ StockFlow - The Ultimate Inventory Lifesaver (Because Counting is Hard)

StockFlow is the groundbreaking, full-stack inventory management web app that ensures businesses don’t lose their minds (or their stock). Because who needs a spreadsheet when you can overcomplicate things with an entire application?

With an almost obsessive focus on usability, security, and efficiency, StockFlow gives you the illusion of control over your inventory. Whether you're an admin pretending to manage stock or a viewer clicking through some charts to look busy, StockFlow has all the life-changing tools you need to stay organized and informed.


✨ Features That Will Totally Change Your Life

βœ… πŸ”’ Role-Based Access Control

  • Because we can't trust everyone with critical inventory decisions. Admins get to play boss, and viewers get to... well, view.

βœ… πŸ“± Responsive UI

  • Works on all devices, so you can panic about low stock even on your phone! Built with Ant Design to ensure your UI looks professionally mediocre.

βœ… πŸ“Š Inventory Management

  • Perform CRUD operations (Create, Read, Update, Delete) on inventory items. Fancy words for "move stuff around."
  • Transfer items between warehouses like a true logistics master.
  • Receive low stock alerts, because running out of stock never happens at the worst possible time.

βœ… πŸ“ˆ Data Visualization

  • Stare at colorful bar charts and pie charts while pretending to analyze stock trends.
  • Click-to-filter functionality, for those who enjoy clicking things just to feel productive.

βœ… πŸ’Ύ Data Export

  • Export your inventory data as CSV files, so you can continue ignoring it in Excel instead.

βœ… πŸ”‹ Action Logging

  • Every action is logged, so there’s no denying that Steve from accounting definitely deleted those items.

βœ… ⚑ Optimized Data Fetching

  • Uses TanStack Query to reduce API calls by 30%, because who doesn’t love efficiency that you’ll never actually notice?

πŸ§‘β€πŸ’» Tech Stack That Sounds Impressive

Frontend

  • ⚑ React – Because every app is built with it these days.
  • 🎨 Ant Design – For that sleek "corporate dashboard" feel.
  • ⚑ TanStack Query – Makes data fetching slightly less painful.
  • 🌍 Axios – Because REST APIs need their coffee too.
  • 🎭 CSS – Sprinkles of styling magic (or chaos, depending on the day).

Backend

  • 🟒 Node.js – It’s JavaScript, but on the backend (magic, right?).
  • πŸš€ Express – Web framework that makes everything seem easier than it actually is.
  • 🌳 MongoDB – NoSQL database, because tables are so last season.
  • πŸ—„οΈ REST API – How the frontend and backend communicate when they aren’t arguing.

Deployment

  • πŸ”Ί Vercel – Deploying your app faster than you can say "Oops, forgot to test that."

πŸ–ΌοΈ Screenshots (Because You Deserve Visual Proof)

πŸ” Login Page

Look at this beauty β€” where security and sarcasm meet.
Login


🧠 Admin Dashboard

For those who like pretending to be in control.
Dashboard


πŸ“Š Analytics Page (1)

Just some colorful charts to make you feel data-savvy.
Analytics 1


πŸ“ˆ Analytics Page (2)

Still staring at trends. Still pretending to understand them.
Analytics 2


πŸ§™β€β™‚οΈ Inventory Forecasting (Admin)

Predict the future like a stock wizard.
Forecasting


🧍 Viewer Mode

Because sometimes, clicking through pretty charts is enough.
Viewer


πŸ“Š Pie & Bar Charts

For when you need to impress people with colorful circles and rectangles.
Bar Chart:
Bar Chart

Pie Chart:
Pie Chart

πŸš€ Getting Started (If You Dare)

Prerequisites

Before you begin, make sure you have these essential items installed:

  • 🟒 Node.js (because JavaScript is life)
  • 🌳 MongoDB (because you need somewhere to store your "organized" inventory)
  • πŸ”Ί Vercel Account (so you can impress people with a live demo)

Installation

Clone the Repository

git clone https://github.com/your-username/stockflow.git
cd stockflow

Set Up the Backend

Navigate to the server directory:

cd server

Install dependencies:

npm install

Create a .env file and add your MongoDB connection string (because security is important):

MONGODB_URI=your-mongodb-connection-string
JWT_SECRET=your-jwt-secret

Start the backend server:

npm start

Set Up the Frontend

Navigate to the client directory:

cd client

Install dependencies:

npm install

Create a .env file and add the backend API URL:

REACT_APP_API_URL=http://localhost:5000

Start the frontend development server:

npm start

Access the Application

Open your browser and navigate to http://localhost:3000 to experience the magic.


🏠 Deployment (Because Localhost Isn’t Enough)

Deploy to Vercel

  1. Push your code to a GitHub repository.
  2. Import the repository into Vercel.
  3. Set the following environment variables in Vercel:
    MONGODB_URI=your-mongodb-connection-string
    JWT_SECRET=your-jwt-secret
  4. Deploy the app and act like you knew what you were doing all along.

🀝 Contributing (Good Luck!)

Contributions are welcome (if you dare)! Here’s how to make your mark:

  1. Fork the repository (because we don’t trust you with direct edits).
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make changes and commit (git commit -m "Add your feature").
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request and hope for the best.

πŸ’™ If this project made you smile (or cry), don’t forget to star ⭐ the repository!

About

StockFlow is a full-stack inventory management web application designed to streamline stock tracking, warehouse management, and data visualization for small to medium-sized businesses.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published