Mobile Application for independent university module ranking, using open data sources from universities. Build with Ionic and Node+Express.
- Before starting, Cordova and Ionic have to installed as global dependencies:
sudo npm install -g cordova ionic
- The app uses a Heroku Dynomo as backend, in case there are problems with communicating with the backend server, set up the server to run locally:
cd
into /backendAPI- Type
npm install
to install the node dependencies for the backend server - Then type
npm start
to start the backend server - In /MobileApp/src/providers/microservices.ts change the app to use the local server as
let apiUrl = 'http://localhost:8080/api/';
cd
into /MobileApp and install the ionic dependencies asnpm install
- To preview and test the application in the browser,
cd
into /MobileApp typeionic serve --address 0.0.0.0 --port 8100
- Open "http://0.0.0.0:8100/ionic-lab" in the browser to preview the application
- Initial communication with the server can appear to be slowed down, as Heroku Dynamo is put to sleep after some period of inactivity. But once it is accessed, it will work as expected.