Skip to content

Commit

Permalink
Merge pull request #41 from MatheusSanchez/image-upload-fix-AWS
Browse files Browse the repository at this point in the history
Image upload fix aws
  • Loading branch information
pedrodecf authored Feb 2, 2024
2 parents 972bb64 + 8bf985f commit 5006025
Show file tree
Hide file tree
Showing 7 changed files with 195 additions and 26 deletions.
8 changes: 5 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ FRONTEND_URL="http://127.0.0.1:5173" # http://localhost:5173
STORAGE_TYPE = "local"

AWS_S3_URL = ""
REGION = '',
ACCESS_KEY_ID ='',
BUCKET_NAME = ""
REGION = ''
ACCESS_KEY_ID =''
SECRET_ACCESS_KEY = ''
BUCKET_NAME = ""

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,26 @@
"test:e2e": "vitest run --dir src/controller",
"test:e2e:coverage": "vitest run --dir src/controller --coverage",
"test:e2e:watch": "vitest --dir src/controller",
"test:coverage": "vitest run --coverage"
"test:coverage": "vitest run --coverage",
"debug": "ts-node-dev --respawn --transpile-only src/server.ts --debug"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@rocketseat/eslint-config": "^2.1.0",
"@types/node": "^20.11.6",
"@types/pump": "^1.1.3",
"@types/supertest": "^6.0.2",
"@vitest/coverage-v8": "^1.2.1",
"eslint": "8.52.0",
"npm-run-all": "^4.1.5",
"prisma": "5.8.1",
"supertest": "^6.3.4",
"ts-node-dev": "^2.0.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vitest": "^1.2.1",
"@types/pump": "^1.1.3"
"vitest": "^1.2.1"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.502.0",
Expand Down
Loading

0 comments on commit 5006025

Please sign in to comment.