1.0.2 • Published 3 years ago

mis-back-to-office v1.0.2

Weekly downloads
25
License
-
Repository
-
Last release
3 years ago

MoveInSync - Attendance Dashboard

MoveInSync

This project was generated with Angular CLI version 9.1.4 and is generated to work in strict mode (strictNullChecks, strictPropertyInitialization, etc.)

Development server


Execute npm start for a dev server. The app is configured to run at port 2000 and open automatically in browser on executing npm start. The app will automatically reload if you change any of the source files.


Static text extraction, TS Linting, Ts Lint Fixing

  1. Execute npm run lint to validate if all the TS lint rules are followed.
  2. Execute npm run lint:fix to fix all the editor fixable lints errors automatically.

Git Commits and Hooks

  1. The primary branch for development and merging code will be dev branch. Kindly, create feature/bug/any other development related branch from this branch.
  2. The branch for deployment to uat is dev-uat branch.
  3. The branch for deployment to production is master branch.
  4. Git Hooks have been added for code commit and push. The reason for adding them is to basically get a clean and a build time error free code to be pushed to the repository, which facilitates error free environment for the co-developers.

NOTE:

  • If any hotfix branch is created, do make a pull from master to dev branch when merging hotfix to master, so that the development environment is updated with those changes/fixes/additions
  • Do a mandatory pull from the dev branch before starting work, if you are not working in dev branch
  • Bypassing Git Hooks is not permitted

Pipelines, Build Command and Instance URLs

InstanceBuild commandSite URLJenkins Job URL
DEVnpm run build:devhttps://devservice7.moveinsync.com/https://cit.moveinsync.com/jenkins/job/backtooffice-ui-Jenkinsfile-dev/
STAGINGnpm run buildhttps://btoffice-stage.moveinsync.com:8943/https://cit.moveinsync.com/jenkins/view/backtoofice-ui/job/backtooffice-ui-Jenkinsfile/
PERFORMANCEnpm run build:performancehttps://wfoservice.moveinsync.com/https://cit.moveinsync.com/jenkins/view/WFO-Performance/job/backtooffice-ui-Jenkinsfile-wfo/
UATnpm run build:uathttps://wfo-uat.moveinsync.com/https://cit.moveinsync.com/jenkins/job/backtooffice-ui-uat-Jenkinsfile/
PRODUCTIONnpm run build:prodhttps://bookingrule.moveinsync.com/https://utilities.moveinsync.com/view/booking-rule-engine-ui/job/booking-rule-engine-ui-Jenkinsfile/

Mandatory Editor Plugins

  1. Angular Language Service
  2. Code Spell Checker
  3. Markdown preview (for previewing this doc)
  4. npm
  5. SCSS intellisense
  6. SonarLint
  7. TSLint (Microsoft)

Custom TS typings

Add the TypeScript typings under custom_typings/ folder whose reference is already provided in the tsconfig.json


App page routings, constants, models, enums

  • The application page routings are constants defined in src/app/constants/app-routes.constants. Please use these for any page navigation so that it is a single point for modifications.
  • Do use namespaces and interfaces for API responses. Using any is prohibited unless absolutely necessary.

Further help

For any further help, drop to shubham.dhingra@moveinsync.com