Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.84 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.84 KB

Angular app for the EFF Alerts mobile app

Directory structure

  • build - intermediary dir, holds files generated by the build process, e.g. settings file generated from our config that can be browserify require-d
  • dist - distribution directory, root dir for the ionic app
  • img - app image files
  • js - js code; ng controllers, services etc.
  • templates - ng templates, cached via the gulp/tasks/ng_templates task
  • index.html - entry point for the ionic app, this file gets copied to dist to be served

NOTE: depending on your IDE, watch out for accidentally editing a file from the dist dir instead of the canonical file instance from elsewhere in www

Angular Components

  • welcome_carousel - Shows a welcome carousel introducing the app
  • share_app - Dedicated page with share options to share the app
  • home - Primary page, shows the latest EFF action and a share button
  • api - API to talk to the push server backend
  • language - Wrapper service for accessing device language
  • push - Handles push notification registration and display
  • sharing - Wrapper service for sharing the app and checking sharing options
  • user_defaults - Manages a simple key / value store with user defaults