Skip to content

Explore Berlin's well-known sites and hidden gems with Miles Experiences. Calculate your travel expenses and journey duration to your selected destination. ๐Ÿš—

Notifications You must be signed in to change notification settings

ikorotkaya/miles_experiences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Miles Experiences

Explore Berlin's iconic and hidden gems with Miles Experiences. Calculate travel costs and journey times to your chosen destination. ๐Ÿš—

Miles Experiences App

GitHub License MIT

How to use

๐Ÿš€ Ensure location access: Activate Location Access in your web browser to discover experiences around you. Alternatively, start your journey from Alexanderplatz, which is set as the default user location.

Block Location

๐ŸŽก Search for nearby attractions: Conveniently find nearby attractions, sorted by distance, on the right side of the app.

๐Ÿ”› Customise your adventure: Personalise your adventure by dragging the location marker or the Miles car. Prices, routes and experiences are updated based on your new location.

๐Ÿง Check venue details: Click on a experience card on the right or a marker on the map to get more information about the attraction. This includes a brief description, exact times and prices, and a link to the official website Berlin Monument Authority for more information.

๐Ÿ See route visualisation: By clicking on a location on the right-hand side of the list, you can view the route to the destination on the map.

How it works

โณ Real-Time Calculation: These details are calculated in real-time using the Google Directions API. This ensures that users receive accurate pricing information based on their current location and the selected venue which you can find in Info Window popup.

๐Ÿ“ Limited Location Availability: Please note that the application is currently available only for Berlin. If you are located within Berlin, you can enjoy all the features the app has to offer. However, if you are located more than 50 kilometers away from Berlin or if you choose not to share your location, the app will use Alexanderplatz as the default location.

๐Ÿ”‘ Important Note: To ensure that you have access to accurate pricing details, please make sure you have correctly configured your Google Maps API key. Detailed instructions on how to obtain and configure your API key can be found in the Google Maps JavaScript API documentation.

๐Ÿ—ฃ๏ธ Different languages are available: This application is available in three languages at the moment, making it user-friendly. To access your preferred language, simply click on the flag icon and all interface elements, including venues, their descriptions and destination costs, will be translated accordingly. Design Note 8 provides detailed instructions on how to easily add new languages.

Change language

Technologies Used

  • React
  • TypeScript
  • Tailwind CSS
  • Google Maps API
  • Google Directions API
  • HTML
  • Zustand (state management)
  • i18next internationalization-framework

Development

To get started with development, follow these steps:

  1. Install dependencies:
npm install
  1. Start the development server:
npm run start

You can access the application at localhost:3000

Testing

Tests are written with the React Testing Library. To run all the tests, use the following command

npm run test

Credits

All locations and images are from the https://denkmaltag.berlin.de/, all image rights are owned by Landesdenkmalยญamt, Berlin.

The style of the app was inspired by Miles Mobility GmbH. ๐ŸŽจ

Contributions

Contributions to the Miles Experiences app are welcome! If you have any suggestions, bug reports, or feature requests, feel free to submit an issue or a pull request. ๐Ÿ‘‹๐Ÿผ

Licence

This project is released under the MIT Licence. Feel free to use, modify, and redistribute the code under the terms of the licence.

About

Explore Berlin's well-known sites and hidden gems with Miles Experiences. Calculate your travel expenses and journey duration to your selected destination. ๐Ÿš—

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages