mortoni / LA-train

Public Transportation App, Project 2 from Udacity Senior Web Developer Nanodegree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LA-train

Public Transportation App, Project 2 from Udacity Senior Web Developer Nanodegree. It's a responsive app with IndexedDB and Service Worker. Offline first and Mobile first.

Requirement

You will build an application that allows users to select a departure and arrival train station, and see a list of trains, times, and durations. A default train schedule will be provided that should be used when the application is offline. If a network connection exists, the application will query an endpoint that provides information about all arrival and departure times.

Udacity

##Demo
You can see a demo here.

Mobile

### Desktop ![image](https://raw.githubusercontent.com/mortoni/LA-train/master/app/images/demo2.png)

##Technologies IndexedDB
Service Worker
AngularJS
Firebase
JavaScript
HTML5
CSS3
Gulp BootStrap 3
JQuery

##Dependencies

  • Node.js
    You must download and install it here.

##Running Go to root folder of project, open your terminal and then follow steps:
###Development Server

  • Installing dependencies:
$ npm install
  • Download packages:
$ bower install
  • Running server:
$ npm run gulp server:dev

###Distribution Server

  • Generate distribution:
$ gulp dist
  • Running server:
$ npm run gulp server:dist

##Service Worker Service Worker Precache is a module to generate the service work to precache user resources. To Generate service work:

$ gulp generate-sw

##IndexedDB Reading from GTFS files and setting up. I use idbwrapper to manipulate user IndexedDB.

##Features
Version 1.0.0

  • First commit

About

Public Transportation App, Project 2 from Udacity Senior Web Developer Nanodegree

License:MIT License


Languages

Language:JavaScript 53.2%Language:HTML 43.1%Language:CSS 3.7%