1.0.2 • Published 5 years ago
mis-back-to-office v1.0.2
MoveInSync - Attendance Dashboard
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
- Execute npm run lintto validate if all the TS lint rules are followed.
- Execute npm run lint:fixto fix all the editor fixable lints errors automatically.
Git Commits and Hooks
- The primary branch for development and merging code will be devbranch. Kindly, create feature/bug/any other development related branch from this branch.
- The branch for deployment to uat is dev-uatbranch.
- The branch for deployment to production is masterbranch.
- Git Hookshave been added for code- commitand- 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
| Instance | Build command | Site URL | Jenkins Job URL | 
|---|---|---|---|
| DEV | npm run build:dev | https://devservice7.moveinsync.com/ | https://cit.moveinsync.com/jenkins/job/backtooffice-ui-Jenkinsfile-dev/ | 
| STAGING | npm run build | https://btoffice-stage.moveinsync.com:8943/ | https://cit.moveinsync.com/jenkins/view/backtoofice-ui/job/backtooffice-ui-Jenkinsfile/ | 
| PERFORMANCE | npm run build:performance | https://wfoservice.moveinsync.com/ | https://cit.moveinsync.com/jenkins/view/WFO-Performance/job/backtooffice-ui-Jenkinsfile-wfo/ | 
| UAT | npm run build:uat | https://wfo-uat.moveinsync.com/ | https://cit.moveinsync.com/jenkins/job/backtooffice-ui-uat-Jenkinsfile/ | 
| PRODUCTION | npm run build:prod | https://bookingrule.moveinsync.com/ | https://utilities.moveinsync.com/view/booking-rule-engine-ui/job/booking-rule-engine-ui-Jenkinsfile/ | 
Mandatory Editor Plugins
- Angular Language Service
- Code Spell Checker
- Markdown preview (for previewing this doc)
- npm
- SCSS intellisense
- SonarLint
- 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 anyis prohibited unless absolutely necessary.
Further help
For any further help, drop to shubham.dhingra@moveinsync.com