Git Product home page Git Product logo

ikorotkaya / miles_experiences Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 94.83 MB

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

Home Page: https://miles-experiences.netlify.app/

HTML 0.40% CSS 0.08% TypeScript 98.94% JavaScript 0.58%
google-maps google-maps-api reactjs typescript i18next state-managemnet zustand tailwindcss

miles_experiences's Introduction

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.

miles_experiences's People

Contributors

ikorotkaya avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.