Skip to content

Commit 18948c2

Browse files
Merge pull request #18 from coderhindu/master
Removed existing UI and added core-ui admin template
2 parents 65c482c + 31effa9 commit 18948c2

455 files changed

Lines changed: 17199 additions & 383 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
# dependencies
1313
/node_modules
14+
open-wealth-manager/node_modules
1415
/bower_components
1516

1617
# IDEs and editors
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"project": {
4-
"name": "wealth-management-client"
4+
"version": "1.0.0",
5+
"name": "OpenWealthManager"
56
},
67
"apps": [
78
{
89
"root": "src",
910
"outDir": "dist",
10-
"assets": [
11-
"assets",
12-
"favicon.ico"
13-
],
11+
"assets": ["assets"],
1412
"index": "index.html",
1513
"main": "main.ts",
1614
"polyfills": "polyfills.ts",
@@ -19,9 +17,14 @@
1917
"testTsconfig": "tsconfig.spec.json",
2018
"prefix": "app",
2119
"styles": [
22-
"styles.css"
20+
"../node_modules/font-awesome/css/font-awesome.css",
21+
"../node_modules/simple-line-icons/css/simple-line-icons.css",
22+
"scss/style.scss"
23+
],
24+
"scripts": [
25+
"../node_modules/chart.js/dist/Chart.bundle.min.js",
26+
"../node_modules/chart.js/dist/Chart.min.js"
2327
],
24-
"scripts": [],
2528
"environmentSource": "environments/environment.ts",
2629
"environments": {
2730
"dev": "environments/environment.ts",
@@ -36,16 +39,13 @@
3639
},
3740
"lint": [
3841
{
39-
"project": "src/tsconfig.app.json",
40-
"exclude": "**/node_modules/**"
42+
"project": "src/tsconfig.app.json"
4143
},
4244
{
43-
"project": "src/tsconfig.spec.json",
44-
"exclude": "**/node_modules/**"
45+
"project": "src/tsconfig.spec.json"
4546
},
4647
{
47-
"project": "e2e/tsconfig.e2e.json",
48-
"exclude": "**/node_modules/**"
48+
"project": "e2e/tsconfig.e2e.json"
4949
}
5050
],
5151
"test": {
@@ -54,10 +54,10 @@
5454
}
5555
},
5656
"defaults": {
57-
"styleExt": "css",
58-
"component": {},
57+
"styleExt": "scss",
58+
"prefixInterfaces": false,
5959
"serve": {
60-
"port": 4600
60+
"port": 4500
6161
}
6262
}
6363
}
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,18 @@ root = true
55
charset = utf-8
66
indent_style = space
77
indent_size = 2
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.ts]
13+
charset = utf-8
14+
indent_style = space
15+
indent_size = 2
16+
end_of_line = lf
817
insert_final_newline = true
918
trim_trailing_whitespace = true
1019

1120
[*.md]
12-
max_line_length = off
21+
max_line_length = 0
1322
trim_trailing_whitespace = false

open-wealth-manager/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Angular2DevelopmentCLI
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0-beta.32.3.
4+
5+
## Development server
6+
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.
7+
8+
## Code scaffolding
9+
10+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
11+
12+
## Build
13+
14+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
15+
16+
## Running unit tests
17+
18+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
19+
20+
## Running end-to-end tests
21+
22+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
23+
Before running the tests make sure you are serving the app via `ng serve`.
24+
25+
## Further help
26+
27+
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).
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { AppPage } from './app.po';
2+
3+
describe('open-wealth-manager App', function() {
4+
let page: AppPage;
5+
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
9+
10+
it('should display message saying app works', () => {
11+
page.navigateTo();
12+
expect(page.getParagraphText()).toEqual('app works!');
13+
});
14+
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { browser, by, element } from 'protractor';
1+
import { browser, element, by } from 'protractor';
22

33
export class AppPage {
44
navigateTo() {

wealth-management-client/e2e/tsconfig.e2e.json renamed to open-wealth-manager/e2e/tsconfig.e2e.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
5-
"baseUrl": "./",
65
"module": "commonjs",
76
"target": "es5",
8-
"types": [
7+
"types":[
98
"jasmine",
10-
"jasminewd2",
119
"node"
1210
]
1311
}
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Karma configuration file, see link for more information
2-
// https://karma-runner.github.io/1.0/config/configuration-file.html
2+
// https://karma-runner.github.io/0.13/config/configuration-file.html
33

44
module.exports = function (config) {
55
config.set({
@@ -15,14 +15,25 @@ module.exports = function (config) {
1515
client:{
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
18+
files: [
19+
{ pattern: './src/test.ts', watched: false }
20+
],
21+
preprocessors: {
22+
'./src/test.ts': ['@angular/cli']
23+
},
24+
mime: {
25+
'text/x-typescript': ['ts','tsx']
26+
},
1827
coverageIstanbulReporter: {
1928
reports: [ 'html', 'lcovonly' ],
2029
fixWebpackSourcePaths: true
2130
},
2231
angularCli: {
2332
environment: 'dev'
2433
},
25-
reporters: ['progress', 'kjhtml'],
34+
reporters: config.angularCli && config.angularCli.codeCoverage
35+
? ['progress', 'coverage-istanbul']
36+
: ['progress', 'kjhtml'],
2637
port: 9876,
2738
colors: true,
2839
logLevel: config.LOG_INFO,

open-wealth-manager/package.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"name": "OpenWealthManager",
3+
"version": "1.0.0",
4+
"description": "Web application to manage investments",
5+
"license": "MIT",
6+
"scripts": {
7+
"ng": "ng",
8+
"start": "ng serve",
9+
"build": "ng build",
10+
"test": "ng test",
11+
"lint": "ng lint",
12+
"e2e": "ng e2e"
13+
},
14+
"private": true,
15+
"dependencies": {
16+
"@angular/animations": "5.0.1",
17+
"@angular/common": "5.0.1",
18+
"@angular/compiler": "5.0.1",
19+
"@angular/core": "5.0.1",
20+
"@angular/forms": "5.0.1",
21+
"@angular/http": "5.0.1",
22+
"@angular/platform-browser": "5.0.1",
23+
"@angular/platform-browser-dynamic": "5.0.1",
24+
"@angular/router": "5.0.1",
25+
"@angular/upgrade": "5.0.1",
26+
"bootstrap": "4.0.0-beta.2",
27+
"chart.js": "2.7.1",
28+
"core-js": "2.5.1",
29+
"font-awesome": "^4.7.0",
30+
"moment": "2.19.1",
31+
"ng2-charts": "1.6.0",
32+
"ngx-bootstrap": "1.9.3",
33+
"primeng": "^5.0.2",
34+
"rxjs": "5.5.2",
35+
"simple-line-icons": "^2.4.1",
36+
"ts-helpers": "1.1.2",
37+
"zone.js": "0.8.18"
38+
},
39+
"devDependencies": {
40+
"@angular/cli": "1.5.0",
41+
"@angular/compiler-cli": "5.0.1",
42+
"@types/jasmine": "2.6.3",
43+
"@types/node": "8.0.50",
44+
"codelyzer": "4.0.1",
45+
"jasmine-core": "2.8.0",
46+
"jasmine-spec-reporter": "4.2.1",
47+
"karma": "1.7.1",
48+
"karma-chrome-launcher": "2.2.0",
49+
"karma-cli": "1.0.1",
50+
"karma-jasmine": "1.1.0",
51+
"karma-jasmine-html-reporter": "0.2.2",
52+
"karma-coverage-istanbul-reporter": "1.3.0",
53+
"protractor": "5.2.0",
54+
"ts-node": "3.3.0",
55+
"tslint": "5.8.0",
56+
"typescript": "2.6.1"
57+
},
58+
"engines": {
59+
"node": ">= 6.9.0",
60+
"npm": ">= 3.0.0"
61+
}
62+
}

wealth-management-client/protractor.conf.js renamed to open-wealth-manager/protractor.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ exports.config = {
1919
defaultTimeoutInterval: 30000,
2020
print: function() {}
2121
},
22-
onPrepare() {
22+
beforeLaunch: function() {
2323
require('ts-node').register({
2424
project: 'e2e/tsconfig.e2e.json'
2525
});
26+
},
27+
onPrepare() {
2628
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
2729
}
2830
};

0 commit comments

Comments
 (0)