Skip to content

Swarit172/Logistics-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logistics Management System-

A web-based solution for managing logistics operations efficiently. The platform provides features for user registration, vehicle information management, and seamless authentication.

File Structure :-

Logistics/
├── public/ # Static files like CSS, images
│ ├── css/
│ │ └── style.css # Main stylesheet for the application
│ ├── imgs/
│ │ ├── header.jpg # Header background image
│ │ ├── home.jpg # Home background image
│ │ └── footer.jpg # Footer background image
├── src/
│ ├── db/
│ │ └── mongoosee.js # Database connection logic
| ├── middleware/ # Middleware for authentication and other logic
│ | └── auth.js # Middleware for user authentication
| ├── models/ # Mongoose models
| │ ├── userSignup.js # User schema and methods
| │ └── vehicleRegister.js # Vehicle schema and methods
| ├── routers/ # Route handlers for the application
| │ ├── userSignup.js # User routes
| │ └── vehicleRegister.js # Vehicle routes
| └── app.js # Entry point of the application
├── template/
│ ├── partials/ # Shared components like header, footer
│ │ ├── header.hbs # Header component
│ │ └── footer.hbs # Footer component
│ ├── views/ # Handlebars templates
│ │ ├── index.hbs # Home page template
│ │ ├── login.hbs # Login page template
│ │ ├── signup.hbs # Signup page template
│ │ ├── resetPw.hbs # Reset password template
│ │ ├── vehicle.hbs # Vehicle register page template
│ │ ├── vlogin.hbs # vehicle login page template
│ │ ├── vreset.hbs # vehicle password reset page template
│ │ ├── detail.hbs # Vehicle details page template
│ │ ├── addVehicle.hbs # Add vehicle page template
│ │ ├── about.hbs # About page template
│ │ └── 404.hbs # 404 error page template
├── .gitignore # Ignored files for Git
├── package.json # Node.js dependencies and scripts
├── node_modules/ # Installed Node.js packages
└── README.md # Project documentation


Features

  • User Authentication: Secure login and signup for users.
  • Vehicle Management: Add, view, and manage vehicle details.
  • Responsive Design: Clean and user-friendly interface.
  • Role-Specific Access: Access control for viewing detailed vehicle data based on user authentication.

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Frontend: Handlebars (HBS), HTML, CSS
  • Authentication: Session-based authentication

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/Swarit172/Logistics-.git
    
  2. Navigate to the project directory:
    cd Logistics
    
  3. Install dependencies:
    npm install
    
  4. Run the application:
    npm start
    
  5. Open your browser and navigate to http://localhost:9090.

About

Logistic Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published