ductaingn / Best-route

Path finding Web Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best-route

A web-app for finding the shortest route between two location in Liễu Giai Ward, Ba Đình District, Hà Nội, Việt Nam.

About the project

This work is a team project offered in course IT3160-Introduction to Artificial Intelligence of Hanoi University of Science and Technology. We used A* algorithm for finding the shortest route between two random location that user chose in Liễu Giai Ward, Ba Đình District, Hà Nội, Việt Nam.

Built with

  • React
  • Flask
  • Python

Getting Started

Prerequisites

npm install npm@latest -g

Installation

  1. Clone the repository
  2. Install NPM packages
$ cd front_end
$ npm ci
  1. Create a Virtual environment
$ cd back_end
$ python3 -m venv .venv
  1. Install python libraries in Virtual environment
$ cd back_end
$ . .venv/bin/activate
$ pip install numpy
$ pip install pandas
$ pip install scikit-learn
$ pip install haversine

Usage

  1. Activate the Virtual environment
$ cd back_end
$ . .venv/bin/activate
$ python3 server.py
  1. Run the React scripts
$ cd front_end
$ npm start
  1. Choose start and destination location
  2. Hit FIND THE WAY button to request finding way
  3. Result may be shown as follow

Contributing

Contributors

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Nguyen Duc Tai - ductaingn.015203@gmail.com

Project Link: https://github.com/ductaingn/Best-route/

Acknowledgement

Materials: https://vi.wikipedia.org/wiki/Gi%E1%BA%A3i_thu%E1%BA%ADt_t%C3%ACm_ki%E1%BA%BFm_A*

https://www.youtube.com/watch?v=A60q6dcoCjw&t=776s

About

Path finding Web Application


Languages

Language:JavaScript 65.6%Language:Python 29.6%Language:HTML 3.7%Language:CSS 1.1%