Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 21 additions & 0 deletions semana21/aula64/.rest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### CADASTRO

POST http://localhost:3003/users/signup
Content-Type: application/json

{
"name": "Alice",
"email": "alice@lbn.com",
"password": "123456",
"role":"ADMIN"
}

### LOGIN

POST http://localhost:3003/users/login
Content-Type: application/json

{
"email": "alice@lbn.com",
"password": "123456"
}
20 changes: 20 additions & 0 deletions semana21/aula64/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/build/src/index.js",
"outFiles": [
"${workspaceFolder}/**/*.js"
]
}
]
}
4 changes: 4 additions & 0 deletions semana21/projeto-semana21/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
build
.env
package-lock.json
4 changes: 4 additions & 0 deletions semana21/projeto-semana21/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# LAMA - Labenu Musical Awards

###CADASTRO
O nosso sistema deve permitir o registro os usuários que irão usá-lo. Para se cadastrar, é necessário passar um email, um nome e uma senha, e também uma função dentro do sistema. Você pode ser um cliente (usuário normal) ou um administrador do sistema (admin). O usuário deve poder se logar automaticamente após o cadastro. Caso tenha interesse, tente tornar o código de cadastro mais testável utilizando a inversão de dependência.
Loading