/LogisticCropManagement

Logistic Management

Primary LanguageHTML


Introduction

This repo contains the codebase of the project done for the HackerEarth's Rural Development Hackathon.


Pre-requisites to run demo

  • node.js
  • npm
  • express
  • ejs
  • AngularJS
  • MySQL

Steps to run:

  • Clone the GitHub repository "https://github.com/vishalv971/RuralHack".
  • Extract the given files. (This is not needed if the respository is cloned using the CLI)
  • Make a database named as "DBMSMiniProject".
  • Restore the given SQL file using phpmyadmin.
  • Run "sudo npm install" to install all the node packages required.
  • Run "node app.js" and navigate to http://localhost:3000/
  • There are three kinds of users: Farmers, Governmental Agency, Admin.
  • Farmer Credentials: Username: A | Password: A123
  • Governmental Agency Credentials: Username: B | Password: B123
  • Admin Credentials: Username: admin | Password: admin
  • Incase you have logged in as a farmer or a government agency, then you'll be prompted to schedule a delivery/pickup for a designated destination.
  • Click on Submit.
  • The next page will brief you about, the ride you just confirmed. From here on you will be able to track your ride.
  • Incase you are logged in as an admin, you will be able to monitor your rides and modify them.

Screenshots





Deleting a ride