Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b1356d5
feat: angular initial [ng new]
thiagojacinto Nov 7, 2020
47cd118
chore: ignoring minimal config to set HTML & CSS inline inside a comp…
thiagojacinto Nov 7, 2020
5fd334d
feat: separate template HTML from component.ts
thiagojacinto Nov 7, 2020
b864560
chore: installed material/angular
thiagojacinto Nov 7, 2020
c100232
feat: create header component
thiagojacinto Nov 7, 2020
a836b17
chore: importing Toolbar from Material
thiagojacinto Nov 7, 2020
4b33e4c
chore: Angular 10 Ivy's compatibility warning shutdown
thiagojacinto Nov 7, 2020
b48b2bd
chore: ignore DS_Store
thiagojacinto Nov 8, 2020
b4175a3
feat: using header component in app
thiagojacinto Nov 8, 2020
a862703
feat: configure header component
thiagojacinto Nov 8, 2020
13b051d
feat: create footer component
thiagojacinto Nov 8, 2020
03ff1c7
feat: edit footer
thiagojacinto Nov 8, 2020
3cfb5b9
feat: new component NAV
thiagojacinto Nov 8, 2020
1ff495d
feat: import sideBar & List from Material
thiagojacinto Nov 8, 2020
63ae433
feat: adding navBar properties
thiagojacinto Nov 8, 2020
71bfacb
feat: home component created
thiagojacinto Nov 11, 2020
a2296a2
chore: importing CardModule & Home
thiagojacinto Nov 11, 2020
98b0ca9
feat: using Home into SideNav
thiagojacinto Nov 11, 2020
b0088d2
chore: importing MatCard module
thiagojacinto Nov 11, 2020
2583f47
feat: customizing Home view
thiagojacinto Nov 11, 2020
455ef70
feat: created Product-crud view
thiagojacinto Nov 11, 2020
1338c2a
feat: configuring Routes
thiagojacinto Nov 11, 2020
b7407e8
feat: implementing routerLink into anchor tags
thiagojacinto Nov 11, 2020
c38d325
fix: increase footer span font-size
thiagojacinto Nov 12, 2020
f7cb266
feat: creating attribute directive
thiagojacinto Nov 12, 2020
a8e5fc6
feat: directive to paint RED
thiagojacinto Nov 12, 2020
204781e
feat: using directive to change color
thiagojacinto Nov 12, 2020
c76c67f
feat: creating component Product Create & routing
thiagojacinto Nov 12, 2020
9c2bdca
feat: simple navigating button, using Router
thiagojacinto Nov 12, 2020
549eeba
style: using Material's Button module
thiagojacinto Nov 12, 2020
9f3e0f1
feat: back button from createProduct to Products view
thiagojacinto Nov 12, 2020
0e2a2aa
fix: categories pointing to Products as well
thiagojacinto Nov 12, 2020
f1efa8a
feat: Product Model
thiagojacinto Nov 13, 2020
ccceab1
feat: Service to handle Product saving
thiagojacinto Nov 13, 2020
ed2e191
feat: fake json-server to simulate server
thiagojacinto Nov 13, 2020
24387a9
fix: adapt product Model to match final API model
thiagojacinto Nov 13, 2020
45ab953
feat: HttpClient handling POST - creating product
thiagojacinto Nov 13, 2020
02a6a41
chore: importing Form, FormField & Input modules
thiagojacinto Nov 16, 2020
7fe9b27
feat: applying Form to handle Product registration
thiagojacinto Nov 16, 2020
7e26601
feat: creating a list component that reads Product data from server
thiagojacinto Nov 16, 2020
0e8c5ac
feat: service for GET method
thiagojacinto Nov 16, 2020
ae1ec84
feat: applying list component to Product page
thiagojacinto Nov 16, 2020
d1a8df7
feat: using Material's table component
thiagojacinto Nov 16, 2020
b3ac584
feat: applying Material's table for comparison
thiagojacinto Nov 16, 2020
bb6dc17
feat: localization to pt-BR data format
thiagojacinto Nov 17, 2020
f7dd6ee
refactor: using Material's table to handle server data read
thiagojacinto Nov 17, 2020
d792154
refactor: remove getList() from unused component
thiagojacinto Nov 17, 2020
53ab642
feat: visual of edit & delete functionalities
thiagojacinto Nov 17, 2020
a788963
feat: getById() and update() implemented in Service
thiagojacinto Nov 17, 2020
efa2ba3
feat: component to handle updating model
thiagojacinto Nov 18, 2020
dc5adee
feat: links to UPDATE from products list
thiagojacinto Nov 18, 2020
1893762
feat: applying logic to UPDATE an existing product
thiagojacinto Nov 19, 2020
fb5030b
fix: update button style
thiagojacinto Nov 19, 2020
d8ad30a
feat: delete method created in Service
thiagojacinto Nov 19, 2020
4f8de2a
chore: route for DELETE component
thiagojacinto Nov 19, 2020
619a7b3
feat: component the handle DELETE method
thiagojacinto Nov 19, 2020
0923a28
feat: delete link usable
thiagojacinto Nov 19, 2020
8bda85c
chore: updated server-json DB
thiagojacinto Nov 19, 2020
cd7a469
chore: version bump to PR #1
thiagojacinto Nov 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,4 @@ dist

# TernJS port file
.tern-port
.DS_Store
78 changes: 78 additions & 0 deletions server/db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"products": [
{
"nome": "Testing master",
"descricao": "Usado para testes",
"precoUnitario": 101.59,
"marcaId": 1,
"fornecedorId": 1,
"faqs": [
1
],
"id": 2
},
{
"nome": "Novo produto",
"descricao": "Será que vai funcionar? Veremos",
"precoUnitario": "1009.45",
"marcaId": 1,
"fornecedorId": 1,
"faqs": [
1
],
"id": 3
},
{
"nome": "Testing master",
"descricao": "Usado para testes",
"precoUnitario": 101.59,
"marcaId": 1,
"fornecedorId": 1,
"faqs": [
1
],
"id": 4
},
{
"nome": "Produto Editado e configurado",
"descricao": "Usado? Novo, novíssimo",
"precoUnitario": "195.43",
"marcaId": 1,
"fornecedorId": 1,
"faqs": [
1
],
"id": 5
},
{
"nome": "Videomaker",
"descricao": "Usado para testes 20",
"precoUnitario": "1550.30",
"marcaId": 1,
"fornecedorId": 1,
"faqs": [
1
],
"id": 6
},
{
"nome": "Samsung A71",
"descricao": "Android 10",
"precoUnitario": "1289.39",
"marcaId": 1,
"fornecedorId": 1,
"faqs": [
1
],
"id": 7
}
],
"faqs": [
{
"id": 1,
"datahora": "2020-08-24T00:00:00Z",
"texto": "Isso é uma pergunta?",
"produtoId": 1
}
]
}
Loading