Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desafio finalizado #25

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Você deverá desenvolver um projeto utilizando React no front-end e Node.js no
> - Você pode persistir os dados em memoria;
> - Cada carro precisa ter um identificador único, nome, marca, ano de fabricação e descrição;
> - Além dos dados do carro, é necessário também salvar os dados do dono do carro(nome, email e telefone de contato).

## Diferenciais
Serão considerados diferenciais:

Expand Down
1 change: 1 addition & 0 deletions back/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
30 changes: 30 additions & 0 deletions back/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Desafio b2u - Desenvolvedor Fullstack - Júnior (back-end)

### :rocket: Instalando e configurando projeto


- clone o repositório do git

```bash
$ git clone git clone https://github.com/1uri-silva/desafio-dev-junior-b2u.git

$ cd desafio-dev-junior-b2u/back

$ npm i

$ npm run dev:start
```

### :wrench: Rotas da aplicação

:soon:
Host: http://localhost:3333

- POST /users
- POST /users/signIn
-
- POST /cars
- GET /cars/:userId
- GET /car/:carId
- PATCH /car/:carId
- GET /car/:carId
21 changes: 21 additions & 0 deletions back/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "back",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev:start": "tsx watch src/server.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@fastify/cors": "^8.2.0",
"fastify": "^4.11.0"
},
"devDependencies": {
"@types/node": "^18.11.18",
"tsx": "^3.12.2",
"typescript": "^4.9.4"
}
}
Loading