The Inventory System is a robust solution designed to manage and track inventory, providing seamless interaction between the backend and frontend systems. This project uses modern technologies to deliver a highly scalable and maintainable inventory management system.
The project is built using the following technologies:
- Backend: NestJS - A progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
- Frontend: React.js - A modern JavaScript framework for building user interfaces.
- Database: SQL - A powerful, open-source relational database management system.
- Add, edit, and delete inventory items.
- Track stock levels in real-time.
- Generate detailed reports on inventory data.
- User authentication and authorization.
- Responsive UI for managing inventory on any device.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Ensure you have the following tools installed:
- Node.js (v14.x or higher)
- npm or Yarn
- React.js
- PostgreSQL (or any SQL database)
-
Clone the repository:
git clone https://github.com/ZeeksX/Inventory-System.git cd Inventory-System
-
Install Backend Dependencies: Navigate to the
server
folder and install the required packages.cd server npm install
-
Install Frontend Dependencies: Navigate to the
client
folder and install the required packages.cd ../client npm install
-
Set Up the Database:
- Ensure PostgreSQL (or your preferred SQL database) is installed and running.
- Create a new database for the project and update the database configuration in the
server
folder.
Example configuration (
.env
file):DB_HOST=localhost DB_PORT=3306 DB_USER=yourusername DB_PASSWORD=yourpassword DB_NAME=inventory
-
Start the NestJS server:
cd server npm run start:dev
-
The backend should now be running on
http://localhost:3000
.
-
Start the React.js client:
cd client npm run dev
-
The frontend should now be running on
http://localhost:5173
.
- Frontend: Open
http://localhost:5173
in your browser to access the client-side of the application. - Backend API: The API is accessible at
http://localhost:3000/api
.
Inventory-System/
│
├── server/ # NestJS backend code
│ ├── src/ # Source files for backend
│ └── ... # Other backend-specific folders and files
│
├── client/ # React.js frontend code
│ ├── src/ # Source files for frontend
│ └── ... # Other frontend-specific folders and files
│
├── README.md # Project documentation
└── .gitignore # Git ignore file
Contributions are welcome! Here's how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
Distributed under the MIT License. See LICENSE
for more information.