Git Product home page Git Product logo

week5-trains's Introduction

Week 5 README

๐Ÿš‹ Train Departure App

Build Status

flying cat


๐Ÿคนโ€โ™€๏ธTeam

Rohan @RohanSSS

Sam @starsuit

Sylvia @seabasshoang

Anna B @aniablaziak

๐Ÿš‡ Overview

Tagline: Citymapper is so over

underground

๐ŸŽ‰Our app is on Heroku: https://shrouded-sands-99034.herokuapp.com/ An app that allows the user to search and check next train departure times from any underground station.

๐ŸŽ‰ Our app is also a progressive web app ๐ŸŽ‰ Save it the heroku link to your homepage!


๐Ÿ›  Built with:

  • HTML
  • CSS
  • JavaScript
  • NodeJS
  • TFL API
  • Travis
  • Heroku

๐Ÿก How to set up this project?

  1. clone the project with git clone https://github.com/FAC-Sixteen/week5-trains.git
  2. install node npm i
  3. you can run tests with npm test
  4. launch it locally with npm start (or npm run dev to use nodemon)

๐ŸŽฏ Goals

  • fetch data from TFL API
  • app will show live departure times from Finsbury Park
  • deploy the app to Heroku
  • CI with Travis
  • backend testing and test coverage

๐ŸŽณ Stretch Goals

  • continous updates (refreshes every x seconds)
  • refresh button
  • adding a clock to our GUI
  • dropdown menu to search for departures from more stations
  • line status updates
  • progressive mobile app!
  • display last update on load and on click
  • clear input button
  • add overground trains

๐Ÿ“ Planning

Initial idea design:

initial idea

User journey whiteboard:

user journey


Process

Day 1

  • Deploy on Heroku
  • Set up initial server
  • Set up Travis CI
  • Basic CSSing
  • Improved server & added our own request module

โ†“ย Accidentally searched for a 'fetch' gif before realising we meant 'request'...

so fetch

Day 2

  • DOM manipulation to render train info
  • Filter & format API data in the backend
  • Fixed Heroku deployment
  • Better CSS styling (more responsive)
  • Working on stretch goals!

๐Ÿ’ก What we've learned (and problems)

  • Heroku can update automatically if you link it with GitHub master branch
  • We tried GitHub Projects (frickin awesome!) GitHub Projects
  • properly naming GitHub branches (/feature and /fix)

Problems:

What problems? no problems

  • we didn't write out Procfile properly and had problems with deployment web: src/scripts/server.js vs web: node src/scripts/server.js
  • The TFL API - matching up station names with IDs
  • Data cleansing - if user enters a station that doesn't exist!

๐Ÿ’ƒ FIN ๐Ÿ’ƒ ย 

NOTES

  • DOM manipulation
  • Input list to search
  • Filter API data

API data needed:

  • Inbound/outbound
  • Line
  • Destination
  • Time to station

week5-trains's People

Contributors

aniablaziak avatar rohansss avatar starsuit avatar sylv1ah avatar

Watchers

James Cloos 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.