Skip to content

Commit cdecd51

Browse files
author
Armen Vardanyan
committed
Initial commit
1 parent 96268f3 commit cdecd51

23 files changed

+224
-538
lines changed

.angulardoc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"repoId": "ca2759f8-dc0a-4edc-a7ca-90c0b422b080",
3+
"lastSync": 0
4+
}

angular.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
3+
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
66
"financial-logger": {
@@ -28,6 +28,7 @@
2828
"src/assets"
2929
],
3030
"styles": [
31+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
3132
"src/styles.scss"
3233
],
3334
"scripts": []
@@ -92,6 +93,7 @@
9293
"src/assets"
9394
],
9495
"styles": [
96+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
9597
"src/styles.scss"
9698
],
9799
"scripts": []
@@ -123,6 +125,7 @@
123125
}
124126
}
125127
}
126-
}},
128+
}
129+
},
127130
"defaultProject": "financial-logger"
128-
}
131+
}

database.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"categories": [
3+
{
4+
"id": 1,
5+
"name": "Food"
6+
},
7+
{
8+
"id": 2,
9+
"name": "Electricity bills"
10+
},
11+
{
12+
"id": 1,
13+
"name": "Car repair"
14+
}
15+
],
16+
"expenses": [
17+
{
18+
"id": 1,
19+
"description": "Food for week",
20+
"categoryId": 1,
21+
"amount": 700
22+
},
23+
{
24+
"id": 2,
25+
"description": "Monthly electricity bill",
26+
"categoryId": 2,
27+
"amount": 300
28+
}
29+
]
30+
}

package-lock.json

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@
1212
"private": true,
1313
"dependencies": {
1414
"@angular/animations": "~9.0.0",
15+
"@angular/cdk": "^9.2.4",
1516
"@angular/common": "~9.0.0",
1617
"@angular/compiler": "~9.0.0",
1718
"@angular/core": "~9.0.0",
1819
"@angular/forms": "~9.0.0",
20+
"@angular/material": "^9.2.4",
1921
"@angular/platform-browser": "~9.0.0",
2022
"@angular/platform-browser-dynamic": "~9.0.0",
2123
"@angular/router": "~9.0.0",
24+
"@ngrx/store": "^9.1.2",
2225
"rxjs": "~6.5.4",
2326
"tslib": "^1.10.0",
2427
"zone.js": "~0.10.2"

src/app/app-routing.module.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
33

4+
import { CategoryListContainerComponent } from './category-list/category-list-container/category-list-container.component';
45

5-
const routes: Routes = [];
6+
7+
const routes: Routes = [
8+
{ path: 'categories', component: CategoryListContainerComponent },
9+
];
610

711
@NgModule({
812
imports: [RouterModule.forRoot(routes)],

0 commit comments

Comments
 (0)