Supply Chain Management System
This is a Supply Chain Management System built with Next.js, designed to streamline and manage various aspects of supply chain operations. The application provides a user-friendly interface for managing products, orders, deliveries, and more.
Prerequisites
Before running the project, ensure you have the following installed:
Installation
To install the dependencies and set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/your-repo.git
-
Navigate into the project directory:
cd Supply-chain-management-system-v1 -
Install the dependencies:
npm install # or yarn install -
Set up the environment variables:
Create a
.env.localfile in the root of your project and add the following configuration:DB_HOST=localhost DB_USER=root DB_PASS="1234" DB_NAME=scms-2
Make sure to replace the values with your actual database credentials if they differ.
Usage
To run the project, use the following commands:
Development
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result. You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
Production
npm run build
npm run start
# or
yarn startThis will start the project in production mode.