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.
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.
- Install NodeJS
- Install NPM
npm install npm@latest -g
- Clone the repository
- Install NPM packages
$ cd front_end
$ npm ci
- Create a Virtual environment
$ cd back_end
$ python3 -m venv .venv
- 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
- Activate the Virtual environment
$ cd back_end
$ . .venv/bin/activate
$ python3 server.py
- Run the React scripts
$ cd front_end
$ npm start
- Choose start and destination location
- Hit FIND THE WAY button to request finding way
- Result may be shown as follow
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Nguyen Duc Tai - ductaingn.015203@gmail.com
Project Link: https://github.com/ductaingn/Best-route/
Materials: https://vi.wikipedia.org/wiki/Gi%E1%BA%A3i_thu%E1%BA%ADt_t%C3%ACm_ki%E1%BA%BFm_A*