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.
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.
##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