final da fase 1

This commit is contained in:
David
2026-11-23 17:01:53 -03:00
parent 88ceb3b53c
commit 20eaf3cab3
4 changed files with 481 additions and 18 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
@ignore//

View File

@@ -27,17 +27,17 @@ A arquitetura também prevê a possibilidade de desenvolver diferentes clientes,
### Legenda de status
- [X] Concluído
- [x] Concluído
- [*] Em andamento
- [-] Planejado
- [+] Ideia / backlog
### Fase 0 — Planejamento e especificação
- [X] Definir proposta e escopo do projeto
- [X] Especificar protocolo de comunicação cliente-servidor (HTTP)
- [-] Definir esquema do banco de dados SQLite
- [X] Definir formato de troca de dados (JSON)
- [x] Definir proposta e escopo do projeto
- [x] Especificar protocolo de comunicação cliente-servidor (HTTP)
- [x] Definir esquema do banco de dados SQLite ([Imagem](/media/bancodedados.png))
- [x] Definir formato de troca de dados (JSON)
- [-] Documentar requisitos mínimos de hardware
### Fase 1 — Servidor (v0.1)
@@ -94,13 +94,13 @@ A arquitetura também prevê a possibilidade de desenvolver diferentes clientes,
### Visão geral por versão
| Versão | Status | Foco principal |
| ------ | ------------- | ------------------------------- |
| Versão | Status | Foco principal |
| ------ | ------------- | ----------------------------------- |
| v0.1 | [-] Planejado | Servidor de aplicação, SQLite e API |
| v0.2 | [-] Planejado | Cliente desktop (LÖVE) |
| v0.3 | [-] Planejado | Multiplataforma e distribuição |
| v0.4 | [+] Ideia | Cliente web |
| v1.0 | [-] Planejado | Estabilização e release |
| v0.2 | [-] Planejado | Cliente desktop (LÖVE) |
| v0.3 | [-] Planejado | Multiplataforma e distribuição |
| v0.4 | [+] Ideia | Cliente web |
| v1.0 | [-] Planejado | Estabilização e release |
## Legenda de Commits
@@ -121,10 +121,10 @@ A arquitetura também prevê a possibilidade de desenvolver diferentes clientes,
### Verbos no imperativo (assunto do commit)
| Verbo | Descrição |
| --------- | -------------------------------------------------- |
| Add | Adiciona arquivo, recurso ou funcionalidade |
| Fix | Corrige bug ou comportamento incorreto |
| Update | Atualiza código, dependência ou documentação |
| Remove | Remove arquivo, recurso ou código obsoleto |
| Refactor | Reestrutura o código sem alterar seu comportamento |
| Verbo | Descrição |
| -------- | -------------------------------------------------- |
| Add | Adiciona arquivo, recurso ou funcionalidade |
| Fix | Corrige bug ou comportamento incorreto |
| Update | Atualiza código, dependência ou documentação |
| Remove | Remove arquivo, recurso ou código obsoleto |
| Refactor | Reestrutura o código sem alterar seu comportamento |

View File

@@ -0,0 +1,462 @@
{
"type": "excalidraw",
"version": 2,
"source": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor",
"elements": [
{
"id": "6EuDO6KglfunOFz-gk5wU",
"type": "rectangle",
"x": 414.9574663749661,
"y": -204.78797181914825,
"width": 183.85958862304688,
"height": 164.37893364107498,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a0",
"roundness": {
"type": 3
},
"seed": 1252478076,
"version": 170,
"versionNonce": 1423697148,
"isDeleted": false,
"boundElements": [],
"updated": 1795463635031,
"link": null,
"locked": false
},
{
"id": "jlCf1Zs9W1TEQtpsoJpo9",
"type": "text",
"x": 470.15730340035276,
"y": -235.34798019047642,
"width": 73.45991516113281,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a1",
"roundness": null,
"seed": 2127892220,
"version": 52,
"versionNonce": 1858727164,
"isDeleted": false,
"boundElements": null,
"updated": 1795457723170,
"link": null,
"locked": false,
"text": "Usuario",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Usuario",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "mzi_smqdEtm5Ux2-35dWa",
"type": "text",
"x": 894.2859243902071,
"y": -235.34797973106512,
"width": 80.53990173339844,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a2",
"roundness": null,
"seed": 1119248964,
"version": 63,
"versionNonce": 450167164,
"isDeleted": false,
"boundElements": null,
"updated": 1795462468698,
"link": null,
"locked": false,
"text": "Estoque",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Estoque",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "l53rap84N-utkAYvLuAOv",
"type": "rectangle",
"x": 806.8970599368126,
"y": -200.86935246927587,
"width": 250.65519057689417,
"height": 351.058995,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a3",
"roundness": {
"type": 3
},
"seed": 665668092,
"version": 306,
"versionNonce": 782502652,
"isDeleted": false,
"boundElements": [
{
"id": "iSpxIm2TLGCMiDhYn7eOu",
"type": "arrow"
}
],
"updated": 1795463662348,
"link": null,
"locked": false
},
{
"id": "8YpTEIxyEv3VxiiuCqlqR",
"type": "text",
"x": 433.687317006674,
"y": -176.20739206650492,
"width": 146.39988708496094,
"height": 125,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a4",
"roundness": null,
"seed": 842076996,
"version": 237,
"versionNonce": 1973415748,
"isDeleted": false,
"boundElements": [
{
"id": "6NmTbZkD3nyhFLJ9BMKM8",
"type": "arrow"
}
],
"updated": 1795463647115,
"link": null,
"locked": false,
"text": "ID Primary Key\nNome Varchar\nEmail \nCargo Varchar\nSenha ",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "ID Primary Key\nNome Varchar\nEmail \nCargo Varchar\nSenha ",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "GYX6e-_MBYgtG5_pt_2NL",
"type": "text",
"x": 829.5059786250239,
"y": -176.20739219796477,
"width": 210.09979248046875,
"height": 250,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "a7",
"roundness": null,
"seed": 283990084,
"version": 215,
"versionNonce": 1510312956,
"isDeleted": false,
"boundElements": null,
"updated": 1795458175602,
"link": null,
"locked": false,
"text": "ID Primary Key\nItem\nQuantidade\nCodigo de barras\nUltima vez adicionado\nUltima vez removido\nultima modificação\nquem modificou\nMarca\n",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "ID Primary Key\nItem\nQuantidade\nCodigo de barras\nUltima vez adicionado\nUltima vez removido\nultima modificação\nquem modificou\nMarca\n",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "No0mycXDtVqLD4zIDoSKj",
"type": "text",
"x": 664.1932275354696,
"y": -560.9066525747442,
"width": 185.71983337402344,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "aE",
"roundness": null,
"seed": 1357373820,
"version": 44,
"versionNonce": 18669308,
"isDeleted": false,
"boundElements": null,
"updated": 1795463615237,
"link": null,
"locked": false,
"text": "Operação de dados",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Operação de dados",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "5szfLiv-LTDmSouQQviX_",
"type": "rectangle",
"x": 644.5099480449526,
"y": -579.9345539169504,
"width": 228.15430408290172,
"height": 66.19093264808839,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "aF",
"roundness": {
"type": 3
},
"seed": 1794527228,
"version": 53,
"versionNonce": 1565410172,
"isDeleted": false,
"boundElements": [
{
"id": "6NmTbZkD3nyhFLJ9BMKM8",
"type": "arrow"
},
{
"id": "iSpxIm2TLGCMiDhYn7eOu",
"type": "arrow"
}
],
"updated": 1795463707074,
"link": null,
"locked": false
},
{
"id": "6NmTbZkD3nyhFLJ9BMKM8",
"type": "arrow",
"x": 592.4430788338159,
"y": -96.86934271315306,
"width": 47.06686921113669,
"height": 450.0697448797532,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "aH",
"roundness": null,
"seed": 365576260,
"version": 67,
"versionNonce": 501835460,
"isDeleted": false,
"boundElements": null,
"updated": 1795463647116,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
27.64412525781904,
0
],
[
27.64412525781904,
-248.10616395453042
],
[
12.06686921113669,
-248.10616395453042
],
[
12.06686921113669,
-450.0697448797532
],
[
47.06686921113669,
-450.0697448797532
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "8YpTEIxyEv3VxiiuCqlqR",
"fixedPoint": [
1.0843981166120054,
0.634704394826815
],
"focus": 0,
"gap": 0
},
"endBinding": {
"elementId": "5szfLiv-LTDmSouQQviX_",
"fixedPoint": [
-0.021914993101261895,
0.49848921905162324
],
"focus": 0,
"gap": 0
},
"startArrowhead": null,
"endArrowhead": "arrow",
"elbowed": true,
"fixedSegments": null,
"startIsSpecial": null,
"endIsSpecial": null
},
{
"id": "iSpxIm2TLGCMiDhYn7eOu",
"type": "arrow",
"x": 794.9255226998347,
"y": -67.94331299810153,
"width": 71.05597225702365,
"height": 442.9077131612773,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "aI",
"roundness": null,
"seed": 797812860,
"version": 200,
"versionNonce": 1214335868,
"isDeleted": false,
"boundElements": null,
"updated": 1795463662349,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
-28.02846276302205,
0
],
[
-28.02846276302205,
-289.36317387096744
],
[
43.027509494001606,
-289.36317387096744
],
[
43.027509494001606,
-442.9077131612773
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "l53rap84N-utkAYvLuAOv",
"fixedPoint": [
-0.04776097877496541,
0.37864302400562144
],
"focus": 0,
"gap": 0
},
"endBinding": {
"elementId": "5szfLiv-LTDmSouQQviX_",
"fixedPoint": [
0.8478607709219222,
1.0437007758277415
],
"focus": 0,
"gap": 0
},
"startArrowhead": null,
"endArrowhead": "arrow",
"elbowed": true,
"fixedSegments": null,
"startIsSpecial": null,
"endIsSpecial": null
}
],
"appState": {
"gridSize": 20,
"gridStep": 5,
"gridModeEnabled": false,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}

BIN
media/bancodedados.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB