/improved-cloud-selection

Cloud provider instances selection feature, with some improvements.

Primary LanguageTypeScriptMIT LicenseMIT

Improved cloud selection

Continuous Integration and Delivery

Features

  • Displays the cloud instances information from the cloud provider.
  • Works also well on mobile.
  • Caches the provider's data in the backend for 10 minutes to avoid spamming the provider too much.
  • Sorts the cloud instances by distance from the user, when the user location is known.
  • Hides the cloud instances that are farther than the maximal distance indicated by the user, when the user location is known.
  • The user location is known by two ways:
    • With an initial call to the backend, that calls an external service to get the location coordinates from the user IP address, and send them back to the frontend.
    • When the user uses the button to trigger the geo location browser interface, and provide his location.

Quick install and run locally

Requirements

  • Docker Engine v20+
  • Docker Compose v1.29+
  • Node.js v16+
  • yarn (could be installed with npm install -g yarn)

Commands to get started

git clone https://github.com/mkrtchian/improved-cloud-selection.git
cd improved-cloud-selection.git/backend
docker-compose up -d --build
cd ../frontend
yarn install
yarn dev

Documentation

To install the development environment or deploy the application, please take a look at the documentation files.

Contributing

Please read CONTRIBUTING.md if you would like to contribute to the project.

Attribution

License

The license text can be found in the LICENSE file.