Skip to content

ctiteam/apspace

Repository files navigation

APSpace

Mobile App @ CTI.

Requirements

  • node >= 10.x
  • npm / yarn

Building

Development

Mitigate CORS issue during development with CORS Everywhere.

$ ng serve  # web - http://localhost:4200/
$ ionic cordova run android -lc  # android

Android live-reload have CORS issues.

Need to downgrade graphql to update GraphQL schema for Attendix.

$ yarn add graphql@latest
$ yarn generate
$ yarn add graphql@^0.11

Production

$ ionic cordova build android --prod --release

Testing

Run ng test to execute unit tests via Karma. Run ng e2e to execute end-to-end tests via Protractor.

Contributing