The Inventory Management System is a full-stack application designed to help businesses manage their product inventory efficiently. The system provides features for employees to manage product details and for admins to update inventory status. This project utilizes ASP.NET Core Web API for the backend and React for the frontend.
Product Management: Employees can view, add, edit, and delete products. Inventory Status Updates: Admins can update the status of the inventory. Role-Based Access: Different functionalities are accessible based on user roles.
- Frontend: React
- Backend: ASP.NET Core Web API
- Database: SQL Server (via Entity Framework Core)
1. .NET SDK (version 6.0 or later)
2. Node.js (version 18.x or later)
3. SQL Server or any compatible database
-
Clone the repository:
git clone https://github.com/yourusername/inventory-management-system.git
-
Navigate to the backend directory:
cd inventory-management-system/Backend
-
Restore the dependencies:
dotnet restore
-
Update the appsettings.json file with your database connection string.
-
Apply database migrations:
dotnet ef database update
-
Start the API server:
dotnet run
-
Navigate to the frontend directory:
cd inventory-management-system/Frontend
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
The application will be available at http://localhost:3000.
- Login: Access the system with appropriate credentials for either employee or admin roles.
- Manage Products: Employees can view and manage products through the user interface.
- Update Inventory: Admins can update the inventory status via the admin dashboard.
API documentation is available at /swagger when the backend server is running. It provides details on all available endpoints and their usage.