Skip to content

rockeek/onyvaApp

Repository files navigation

Onyva application

Onyva application to organize transportation with friends.

Installation Instructions

Follow these instructions to install the app and run it with the mock (in-memory) data services:

  1. Make sure you have the latest version of Cordova and Ionic and Node:

    npm install -g cordova
    npm install -g ionic
    nvm install node
    
  2. Clone the repository:

    git clone https://github.com/rockeek/onyvaApp.git
    
  3. Navigate to the onyvaApp directory :

    cd onyvaApp
    
  4. Install the dependencies

    npm install
    
  5. Run the app in the browser

    npm start
    

    or

    ionic run ionic:serve
    

Note: under windows, if c:\src is a link, please go to the real directory to make it work.

Using REST Services

Follow these instructions to run it with the REST data services:

  1. Replace all references to property-service-mock and broker-service-mock with property-service and broker-service

  2. Install the Node.js implementation of the REST services (see this repository for instructions), and run the Node server.

  3. Adjust the SERVER_URL in providers/config.ts. The default is http://localhost:5000.

  4. Run the app in the browser

    npm start
    

CORS issues

To avoid CORS issues, we implemented a proxy in ionic.config.json This way we can reach the REST services from another web server without having Cross Origin Resource Sharing issue.

Browser version

To build for production ionic cordova build browser --prod --release

Copy the output of www You can improve the WebApp presentation by improving the manifest: https://thishereweb.com/understanding-the-manifest-for-web-app-3f6cd2b853d6

About icons

Origin: https://icones8.fr/icon/set/passenger/all https://icones8.fr/icon/set/navette/all

To generate them all: ionic cordova resources

About

Onyva mobile application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published