- Current geolocation - easy to add, map would zoom into that location, app would require the user's consent.
- E-scooters nearby - more complicated, based on location user would be able
to add e-scooters to map, it would be necessary to create whole authentication
system to prevent trolls.
- Price comparison - based on average speed and time of travel it would be
awesome to check which provider is the best option.
- Guidelines and law - countries can have different laws that treats e-scooters
differently, adding guidelines would be helpful to people who are not into e-scooters.
- Rating providers
- Discounts
- Places visited
I know this is just PoC but in order to properly develop and maintain the application, it is necessary to refactor the code and separate it into components. This will allow for better organization, reusability, and easier debugging.
Additionally, to implement authentication and other functionality, a backend written in a framework rather than pure PHP will be necessary. This will provide a more robust and secure solution, with built-in functionality for handling user authentication, data storage and retrieval, and other important features.
Build date: 2023-03-31 02:07:10
24 cities fetched for BitMobility.
40 cities fetched for Helbiz.
199 cities fetched for Bolt.
49 cities fetched for Spin.
30 cities fetched for Neuron.
18 cities fetched for Whoosh.
17 cities fetched for Quick.
100 cities fetched for Voi.
121 cities fetched for Bird.
29 cities fetched for Dott.
303 cities fetched for Lime.
361 cities fetched for Tier.
0 cities fetched for Link.
2 cities fetched for Hulaj.
777 cities fetched.
Cached cities loaded.
| No. | Provider | Data source |
|---|---|---|
| 1 | Lime | webscrapped |
| 2 | Bolt | web API |
| 3 | Tier | web API |
| 4 | Bird | webscrapped with partially estimated countries |
| 5 | Voi | webscrapped |
| 6 | Spin | webscrapped |
| 7 | Link | webscrapped |
| 8 | Dott | webscrapped with partially estimated countries |
| 9 | Quick | webscrapped |
| 10 | Neuron | partially webscrapped |
| 11 | Whoosh | hardcoded |
| 12 | Helbiz | hardcoded |
| 13 | BitMobility | webscrapped with partially estimated countries |
| 14 | Hulaj | webscrapped |
copy .env.example .env
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
docker-compose run --rm -u "$(id -u):$(id -g)" php php index.php






