The Advanced Transportation Management System is designed to optimize transportation logistics in warehouse operations. Developed during Codeutsava 7.0, this system enhances route efficiency and reduces delivery times and costs through advanced route optimization techniques.
- Frontend: ReactJS
- Backend: NodeJS
- Database: MongoDB
- Framework: ExpressJS
- Enhanced Route Optimization: Streamlines delivery routes to minimize travel time and operational costs.
- Efficient Data Management: Optimizes warehouse data for improved logistics and resource utilization.
- Clone the repository:
git clone https://github.com/yourusername/advanced-transportation-management-system.git
cd FarmToFleet
Tip: To efficiently install dependencies for both frontend and backend simultaneously, use split terminals.
Install frontend dependencies
cd Client
npm install
Install backend dependencies
cd Server
npm install
Backend
- Create a
.env
file in thebackend
directory. - Add the following variables with appropriate values
# Database connection string
MONGO_URI="mongodb://localhost:27017/your-database-name"
# Frontend URL (adjust if needed)
ORIGIN="http://localhost:3000"
Important:
- Separate terminals: Run the commands in separate terminal windows or use
split terminal
to avoid conflicts. - Nodemon required: Ensure you have
nodemon
installed globally to run the backend development servers usingnpm run dev
. You can install it globally usingnpm install -g nodemon
.
- Navigate to the
backend
directory:cd backend
- Start the server:
npm run dev
(or npm start) - You should see a message indicating the server is running, usually on port 7134.
- Navigate to the
frontend
directory:cd frontend
- Start the server:
npm start
- You should see a message indicating the server is running, usually on port 3000.
Once both servers are running, you can access them at the following URL's:
- Backend: http://localhost:7134
- Frontend: http://localhost:3000