Skip to content

Commit

Permalink
feat(core+login): add Core Module and Login component (#5)
Browse files Browse the repository at this point in the history
* feat(core+login): add Core Module and Login functiinality

* fix(authentication.service): restrict login for non self service users
  • Loading branch information
manigedit authored Jul 1, 2020
1 parent c9b6a9e commit adaf8cc
Show file tree
Hide file tree
Showing 151 changed files with 11,922 additions and 12,465 deletions.
373 changes: 0 additions & 373 deletions LICENSE

This file was deleted.

41 changes: 2 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,11 @@
# WebSelfServiceApplication
# SelfServiceApp

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.9.

`Specificaitions`
Angular CLI: 7.3.6
Node: 11.6.0
OS: win32 x64
Angular:
...

Package Version
------------------------------------------------------
@angular-devkit/architect 0.13.6
@angular-devkit/core 7.3.6
@angular-devkit/schematics 7.3.6
@schematics/angular 7.3.6
@schematics/update 0.13.6
rxjs 6.3.3
typescript 3.2.4
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.7.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

`Username : mifos`

`Password : mifos`

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
Expand All @@ -46,19 +25,3 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

## Libraries Integrated

+ Ng2 charts (Charts)
+ AOS (CSS Animations)
+ Angular Material (UI)
+ Bootstrap (Grid)

New feature "Notifications Panel" now in progress.

And REST APIs need to be incorporated. So added dummy data temporarily.

## REST APIs

`https://demo.openmf.org/api-docs/apiLive.htm#authentication_overview`

85 changes: 32 additions & 53 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,30 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"web-self-service-application": {
"self-service-app": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/online-banking-app",
"outputPath": "dist/self-service-app",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [

"src/styles.scss",
"./node_modules/aos/dist/aos.css"

"src/styles.css"
],
"scripts": [
"./node_modules/aos/dist/aos.js"
],
"es5BrowserSupport": true
"scripts": []
},
"configurations": {
"production": {
Expand All @@ -50,7 +41,6 @@
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -59,6 +49,11 @@
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
Expand All @@ -67,79 +62,63 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "web-self-service-application:build"
"browserTarget": "self-service-app:build"
},
"configurations": {
"production": {
"browserTarget": "web-self-service-application:build:production"
"browserTarget": "self-service-app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "web-self-service-application:build"
"browserTarget": "self-service-app:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.scss"
],
"scripts": [],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
]
],
"styles": [
"src/styles.css"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"web-self-service-application-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "web-self-service-application:serve"
"devServerTarget": "self-service-app:serve"
},
"configurations": {
"production": {
"devServerTarget": "web-self-service-application:serve:production"
"devServerTarget": "self-service-app:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "web-self-service-application"
}
}},
"defaultProject": "self-service-app"
}
12 changes: 12 additions & 0 deletions browserslist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
Loading

0 comments on commit adaf8cc

Please sign in to comment.