Inventory Management System
The Inventory Management System is a comprehensive solution designed to help businesses efficiently track and manage their stock levels, orders, sales, and deliveries. By integrating advanced client and server technologies, the system offers real-time inventory monitoring and control to enhance operational efficiency and accuracy.
-
Real-Time Inventory Tracking
Continuously monitor stock levels to avoid overstocking or stock shortages. -
Order Management
Seamlessly handle purchase and sales orders with accurate and timely processing. -
Reporting and Analytics
Generate detailed reports and insights to evaluate inventory performance and support data-driven decision-making. -
User Authentication and Authorization
Secure access with role-based permissions to ensure data protection and controlled system usage.
Built with modern web technologies, this Inventory Management System is designed to:
- Streamline operational workflows.
- Minimize manual errors.
- Enhance productivity for businesses of all sizes.
This solution is ideal for organizations looking to optimize their inventory processes while gaining actionable insights through robust analytics and reporting tools.
Ensure you have the following installed on your system:
- Node.js (Latest LTS recommended)
- npm or yarn (Comes with Node.js)
- Prisma CLI (Optional, but useful for managing the database schema)
- PostgreSQL/MySQL or the database specified in
schema.prisma
for Prisma
-
Clone the Repository:
git clone https://github.com/ismailcankaratas/inventory-management.git cd inventory-management
-
Install Client Dependencies: Navigate to the
client
directory and install the dependencies.cd client npm install
Or, if you are using
yarn
:yarn install
-
Install Server Dependencies: Navigate to the
server
directory and install the dependencies.cd ../server npm install
Or:
yarn install
-
Set Up Environment Variables:
- Copy the example
.env.example
file in theserver
directory and rename it to.env
:cp .env.example .env
- Edit the
.env
file to include your database connection URL and any other required variables.
- Copy the example
-
Set Up Prisma Database:
- Run the Prisma migrations to set up the database schema:
npx prisma migrate dev
- (Optional) Seed the database with initial data:
npx prisma db seed
- Run the Prisma migrations to set up the database schema:
-
Run the Server: Start the server by navigating to the
server
directory:npm run dev
Or:
yarn dev
-
Run the Client: Open another terminal window, navigate to the
client
directory, and start the Next.js application:npm run dev
Or:
yarn dev
-
Access the Application:
- The client application should now be running at
http://localhost:3000
. - The API server should be running at
http://localhost:<server-port>
(check the port defined in the.env
file).
- The client application should now be running at
- Development Scripts:
- Use
npm run lint
in theclient
directory to check for linting issues. - Use
npm run build
in bothclient
andserver
directories for production builds.
- Use
- Tailwind Configuration:
- Tailwind is configured in
tailwind.config.ts
in theclient
folder. You can customize styles as needed.
- Tailwind is configured in
Let me know if you encounter any issues!
For any questions or feedback, please contact İsmail Can Karataş.