Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dishly
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
O Bar da Lora
Dishly
Commits
003605eb
Commit
003605eb
authored
May 14, 2026
by
Natã Frederico Sangalletti
Browse files
Options
Browse Files
Download
Plain Diff
Sla
parents
c21bc22d
2a5042e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
2 deletions
+50
-2
diagrama.puml
diagrama.puml
+44
-0
cadastro.html
templates/cadastro.html
+6
-2
No files found.
diagrama.puml
0 → 100644
View file @
003605eb
@startuml Dishly
entity Usuario {
* id : number <<PK>>
--
nome : text
email : text
senha : text
}
entity Receitas {
* id : number <<PK>>
--
nome_receita : text
descricao : text
ingredientes : text
modo_preparo : text
}
entity Post_Receitas {
* id : number <<PK>>
--
imagem : text
receitas_id : number <<FK>>
user_id : number <<FK>>
}
entity Salvos {
* id : number <<PK>>
--
user_id : number <<FK>>
postReceita_id : number <<FK>>
}
Usuario ||--o{ Post_Receitas : cria
Usuario ||--o{Salvos : salva
Receitas ||--o{ Post_Receitas : contem
Post_Receitas ||--o{ Salvos : contem
@enduml
templates/cadastro.html
View file @
003605eb
...
...
@@ -11,8 +11,12 @@
<body>
<div>
<form
action=
"/cadastro"
method=
"POST"
>
<label
for=
"nome"
>
Nome da Receita
</label>
<input
id=
"nome"
name=
"nome"
type=
"text"
required
/>
<input
id=
"nome"
name=
"nome"
type=
"text"
placeholder=
"Nome da Receita"
required
/>
<input
id=
"porcoes"
name=
"porcoes"
type=
"text"
placeholder=
"Porcões"
><br>
<input
type=
"text"
name=
"tempo"
id=
"tempo"
placeholder=
"Tempo de Preparo"
><br>
<input
type=
"text"
nome=
"descricao"
id=
"descricao"
placeholder=
"Descrição da Receita"
><br>
<input
type=
"text"
nome=
"ingredientes"
id=
"ingredientes"
placeholder=
"Ingredientes"
><br>
<input
type=
"text"
nome=
"preparo"
id=
"preparo"
placeholder=
"Preparo da Receita"
><br>
<button
type=
"reset"
>
Limpar
</button>
<button
type=
"submit"
>
Salvar
</button>
</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment