没有合适的资源?快使用搜索试试~ 我知道了~
qualicorp-challenge-api
共84个文件
js:72个
json:5个
editorconfig:1个
需积分: 9 0 下载量 85 浏览量
2021-05-07
22:07:56
上传
评论
收藏 143KB ZIP 举报
温馨提示
Qualicorp IT挑战 :rocket: Javascript | 节点 :open_mailbox_with_raised_flag: 保持联系! Qualicorp提出的挑战 后端使用NODEJS,前端使用REACTJS,数据库使用mongoDB。 我使用了良好的编程习惯,简洁的体系结构,TDD,DDD和SOLID原理,单元测试,集成测试,设计模式(复合,工厂,用例,单例模式) 卷曲 POST创建客户 curl --request POST \ --url http://localhost:3003/api/customers \ --header 'content-type: application/json' \ --data '{ "name": "Felipe", "email": "fepuss@gmail.com", "telephone": "88997143829", "cpf": "12345678905" }
资源推荐
资源详情
资源评论
收起资源包目录
qualicorp-challenge-api-master.zip (84个子文件)
qualicorp-challenge-api-master
Dockerfile 127B
.gitignore 35B
README.md 4KB
.prettierrc 52B
commitlint.config.js 68B
LICENSE 1KB
.dockerignore 252B
.lintstagedrc.json 81B
package.json 2KB
.huskyrc.json 210B
src
utils
errors
bad-request-error.test.js 415B
not-found-error.js 182B
bad-request-error.js 166B
invalid-param-error.js 170B
handle-exception.test.js 830B
invalid-param-error.test.js 439B
index.js 329B
missing-param-error.js 170B
missing-param-error.test.js 446B
not-found-error.test.js 410B
handle-exception.js 455B
presentation
routers
update-customer-router.spec.js 6KB
delete-customer-by-id-router.js 852B
create-customer-router.js 1KB
delete-customer-by-id-router.spec.js 3KB
create-customer-router.spec.js 5KB
update-customer-router.js 1KB
load-all-customers-router.spec.js 3KB
load-customer-by-id-router.js 840B
load-customer-by-id-router.spec.js 3KB
load-all-customers-router.js 435B
helpers
http-response.js 647B
errors
server-error.js 136B
index.js 85B
main
routes
customer-routes.test.js 4KB
customer-routes.js 937B
composers
load-all-customers-composer.js 632B
update-customer-composer.js 601B
load-customer-by-id-composer.js 635B
create-customer-composer.js 601B
delete-customer-by-id-composer.js 1KB
middlewares
json-parser.js 70B
content-type.js 72B
cors.test.js 491B
cors.js 195B
content-type.test.js 673B
json-parser.test.js 386B
adapters
express-router-adapter.js 365B
index.js 247B
config
setup.js 290B
env.js 132B
setup.test.js 366B
app.js 195B
routes.js 243B
domain
usecases
load-customer-by-id-usecase.spec.js 2KB
load-customer-by-id-usecase.js 434B
create-customer-usecase.spec.js 3KB
create-customer-usecase.js 723B
delete-customer-by-id-usecase.js 757B
load-all-customers-usecase.js 288B
update-customer-usecase.spec.js 4KB
update-customer-usecase.js 792B
load-all-customers-usecase.spec.js 2KB
delete-customer-by-id-usecase.spec.js 4KB
infra
repositories
delete-customer-by-id-repository.js 505B
update-customer-repository.spec.js 1KB
delete-customer-by-id-repository.spec.js 1KB
load-customer-by-id-repository.spec.js 1KB
create-customer-repository.js 440B
load-all-customers-repository.js 248B
update-customer-repository.js 617B
load-all-customers-repository.spec.js 1KB
load-customer-by-id-repository.js 587B
create-customer-repository.spec.js 1KB
helpers
mongo-helper.js 540B
mongo-helper.spec.js 486B
jest-unit-config.js 101B
jest.config.js 175B
.editorconfig 147B
jest-mongodb-config.js 187B
.eslintrc.js 429B
jest-integration-config.js 101B
globalConfig.json 67B
package-lock.json 419KB
共 84 条
- 1
资源评论
彷徨的牛
- 粉丝: 55
- 资源: 4720
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功