{"id":21151716,"url":"https://github.com/ashirbadgudu/nodejs-aws-s3-with-mongodb-typescript","last_synced_at":"2026-04-12T04:40:00.372Z","repository":{"id":172444114,"uuid":"612580738","full_name":"AshirbadGudu/nodejs-aws-s3-with-mongodb-typescript","owner":"AshirbadGudu","description":"API for uploading images into S3 bucket with typescript and mongodb","archived":false,"fork":false,"pushed_at":"2023-03-13T11:35:20.000Z","size":49,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T08:12:10.329Z","etag":null,"topics":["aws","aws-s3","aws-sdk","mongodb","mongoose","multer","nodejs","s3","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AshirbadGudu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-11T11:28:49.000Z","updated_at":"2024-10-07T01:41:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"36f51db7-875e-42c3-9a6a-b8dee6a9232e","html_url":"https://github.com/AshirbadGudu/nodejs-aws-s3-with-mongodb-typescript","commit_stats":null,"previous_names":["ashirbadgudu/nodejs-aws-s3-with-mongodb-typescript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshirbadGudu%2Fnodejs-aws-s3-with-mongodb-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshirbadGudu%2Fnodejs-aws-s3-with-mongodb-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshirbadGudu%2Fnodejs-aws-s3-with-mongodb-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshirbadGudu%2Fnodejs-aws-s3-with-mongodb-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshirbadGudu","download_url":"https://codeload.github.com/AshirbadGudu/nodejs-aws-s3-with-mongodb-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243591722,"owners_count":20315900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-s3","aws-sdk","mongodb","mongoose","multer","nodejs","s3","typescript"],"created_at":"2024-11-20T10:18:24.784Z","updated_at":"2025-12-31T00:23:47.684Z","avatar_url":"https://github.com/AshirbadGudu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS AWS S3 API With MongoDB \u0026 TypeScript\n\n## Step By Step Process For Creating\n\n### Create Project With `yarn`\n\n```sh\nyarn init -y\n```\n\n### Create a `.gitignore` file\n\n```sh\ntouch .gitignore\n```\n\n### Add following content to `.gitignore`\n\n```gitignore\n# Node.js\nnode_modules/\nnpm-debug.log\nyarn-error.log\n*.env\n\n# TypeScript\n*.js.map\n*.tsbuildinfo\ndist/\n```\n\n### Add the `typescript` dependencies\n\n```sh\nyarn add -D typescript ts-node @types/node\n```\n\n### Create `tsconfig.json` file\n\n```sh\ntouch tsconfig.json\n```\n\n### Add the following to `tsconfig.json`\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"es6\",\n    \"module\": \"commonjs\",\n    \"strict\": true,\n    \"esModuleInterop\": true,\n    \"outDir\": \"./dist\",\n    \"sourceMap\": true\n  },\n  \"exclude\": [\"node_modules\", \"**/*.spec.ts\"]\n}\n```\n\n### Add the scripts to the `package.json` file\n\n```json\n{\n  \"scripts\": {\n    \"start\": \"node ./dist/index.js\",\n    \"dev\": \"nodemon --exec ts-node ./src/index.ts\",\n    \"build\": \"tsc\"\n  }\n}\n```\n\n### Create a proper folder structure\n\n\u003e Create Folders\n\n```sh\nmkdir -p src/{configs,controllers,helpers,middleware,models,routes,types,validations}\n```\n\n\u003e Create `index.ts` files\n\n```sh\ntouch  src/index.ts\ntouch  src/configs/index.ts\ntouch  src/controllers/index.ts\ntouch  src/helpers/index.ts\ntouch  src/middleware/index.ts\ntouch  src/models/index.ts\ntouch  src/types/index.ts\ntouch  src/validations/index.ts\n```\n\n### Add required dependencies and dev dependencies\n\n```sh\nyarn add @aws-sdk/client-s3 @aws-sdk/s3-request-presigner cors dotenv express express-validator mongoose multer\nyarn add -D @types/cors @types/express @types/multer\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashirbadgudu%2Fnodejs-aws-s3-with-mongodb-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashirbadgudu%2Fnodejs-aws-s3-with-mongodb-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashirbadgudu%2Fnodejs-aws-s3-with-mongodb-typescript/lists"}