Skip to content

TheNoshman/DaysAway

Repository files navigation

For when you just feel like going somewhere anywhere

📋 Table of contents

🔭 Overview

Welcome to DaysAway, a new native mobile application to help you select a day out using public transport. Simply choose your preferred departing station from a list based on your location, your maximum travel time and the algorithm will take care of the rest for you.

Current features include:

  • Real-time user location data via Expo's location package is fed into TransportAPI to return a list of local train stations, sorted by distance from the current location.
  • Days out are displayed on a swipeable card deck, allowing the user to either swipe right/ tap the '+' button to add the trip to their saved journeys or swipe left to discard.
  • Tapping on a journey card reveals the details screen:
    • Activities - a list of ten local points of interest from OpenTripMap API based on the destination location, includes a user rating, distance from the station and a navigation button that links to the users default mapping application.
    • Journey Details - live journey information which updates in real-time, includes:
      • Scheduled/ expected departure & arrival time.
      • Train changes, platform number and stations calling en route.
      • Live specific train status and time now, departing station distance from user and journey time.
    • Weather - data requested from WeatherAPI displays the conditions at the destination.
  • Links to open the National Rail website to book tickets for the selected day out.

Future updates:

  • Return journey options

  • Algorithm optimisation

  • Customisable user preferences when searching for days out, eg beach, city, countryside.

  • Back end implementation

📺 Media

📸 Images

📽️ Video

DaysAway-thumbnail

🤖 Technologies

React Native Expo Redux Day.js TransportAPI OpenTripMap API Unsplash API weatherAPI
aws-s3 aws-s3 aws-s3

🛠️ Setup

  1. Setup prerequisites:

    • React Native
    • Expo
    • Node.js
  2. To run DaysAway, clone and install it locally using npm:

$ git clone https://github.com/TheNoshman/DaysAway.git
  1. Next, navigate into the DaysAway directory and install dependancies:
$ npm install
  1. Inside the DaysAway directory, configure the environment variables. See example-env.txt for reference:

  2. Finally, start the application:

    • Navigate into DaysAway and run expo start

📖 About

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors