mis-back-to-office
v1.0.2
Published
![MoveInSync](/src/assets/images/logos/brand.svg)
Downloads
1
Readme
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 lint
to validate if all the TS lint rules are followed. - Execute
npm run lint:fix
to fix all the editor fixable lints errors automatically.
Git Commits and Hooks
- The primary branch for development and merging code will be
dev
branch. Kindly, create feature/bug/any other development related branch from this branch. - The branch for deployment to uat is
dev-uat
branch. - The branch for deployment to production is
master
branch. Git Hooks
have been added for codecommit
andpush
. 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
any
is prohibited unless absolutely necessary.
Further help
For any further help, drop to [email protected]