feat: add file upload

This commit is contained in:
Daniel Soares
2021-12-26 01:02:23 -03:00
parent 165c26af3f
commit db0a21e4a0
23 changed files with 407 additions and 124 deletions

View File

@@ -20,12 +20,15 @@
},
"dependencies": {
"@prisma/client": "^3.7.0",
"@uploadcare/upload-client": "^2.2.0",
"axios": "0.24.0",
"bcryptjs": "2.4.3",
"cuid": "2.1.8",
"dotenv": "10.0.0",
"formidable": "v3",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.21",
"multer": "^1.4.4",
"next": "12.0.7",
"next-connect": "0.11.0",
"nookies": "2.5.2",
@@ -43,8 +46,10 @@
"@commitlint/cli": "15.0.0",
"@commitlint/config-conventional": "15.0.0",
"@types/bcryptjs": "2.4.2",
"@types/formidable": "^2.0.1",
"@types/jsonwebtoken": "8.5.6",
"@types/lodash": "4.14.178",
"@types/multer": "^1.4.7",
"@types/node": "17.0.0",
"@types/react": "17.0.37",
"@types/react-color": "3.0.6",