-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (77 loc) · 2.64 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./estilos.css">
<title>CRUD at Heroku</title>
</head>
<body>
<h1>C R U D</h1>
<div class="container-fluid">
<table class="table">
<thead>
<tr>
<th scope="col">Operação</th>
<th scope="col">Descrição</th>
<th scope="col">URL</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">GET</th>
<td>Mostra Um usuário</td>
<td><a href="get_one_user.html">('/users/:id')</a></td>
</tr>
<tr>
<th scope="row">GET</th>
<td>Mostra todos os usuários</td>
<td><a href="get_all_users.html">('/users')</a></td>
</tr>
<tr>
<th scope="row">GET</th>
<td>Saldo de um usuário</td>
<td><a href="saldo.html">('/user/:id')</a></td>
</tr>
<tr>
<th scope="row">GET</th>
<td>Uma transação de um usuário</td>
<td><a href="get_user_trans.html">('/user/:userid/transaction/:transid)</a></td>
</tr>
<tr class="table-info">
<th scope="row">POST</th>
<td>Cadastra um usuário</td>
<td><a href="add_user.html">('/users')</a></td>
</tr>
<tr class="table-info">
<th scope="row">POST</th>
<td>Cadastra uma transação</td>
<td><a href="add_trans.html">('/user/:userid/transactions)</a></td>
</tr>
<tr class="table-warning">
<th scope="row">PUT</th>
<td>Modifica usuário</td>
<td><a href="edit_user.html">('/user/:id')</a></td>
</tr>
<tr class="table-warning">
<th scope="row">PUT</th>
<td>Modifica transação</td>
<td><a href="edit_trans.html">('/user/:userid/transaction/:transid)</a></td>
</tr>
<tr class="table-danger">
<th scope="row">DELETE</th>
<td>Apaga um usuário</td>
<td><a href="del_user.html">('/user/:id')</a></td>
</tr>
<tr class="table-danger">
<th scope="row">DELETE</th>
<td>Apaga uma transação</td>
<td><a href="del_user_trans.html">('/user/:userid/transaction/:transid)</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>