Giter Club home page Giter Club logo

homed-main-ionic's Introduction

Project: HoMED-Main-Ionic

HoMED Ionic Client targeted for HomeTeam Servicemen.

Deployment Commands

npm install # Required Step

ionic cordova prepare # Required Step

ionic cordova run android -l # To test on Android devices

Coding Conventions

Code

  • Organize import statements according to their respective frameworks. (e.g. @ionic, @angular, local directories)
  • As much as possible, place styling in .scss file rather than inline
  • Apart from import statements, avoid putting ';' when coding in TypeScript
  • Enforce access modifiers to be as secure as possible
  • Make sure image also has 'alt' text (preferably same as file name)

File Generation

  • When generating new page, append 'Screen' to name of page and apply Pascal Casing (e.g. StartScreen, LoginScreen)
ionic g page screens/StartScreen
  • When generating new modal, append 'Modal' to name of page and apply Pascal Casing (e.g. EditProfileModal)
ionic g page modals/EditProfileModal
  • When generating new service, just the object name would suffice in Pascal Casing (e.g. Serviceman, Session, Utility, FormTemplate)
ionic g service services/medicalcentre/MedicalCentre
  • When generating new class, just the object name would suffice (e.g. Serviceman, Appointment)
ionic g class classes/serviceman/Serviceman
  • When creating new enum, just the object name would suffice on lowercase and append '-enum' (e.g. gender, bloodtype)
// create file with name: bloodtype-enum.ts
  • When creating new standalone TS file, seperate each subword by period, and all lower casing (e.g. HttpConfigInterceptor)
// create file with name: http.config.interceptor.ts

homed-main-ionic's People

Contributors

jianyiee96 avatar keithlim avatar weekeat-tan avatar

Watchers

 avatar

Forkers

thumster

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.