{"id":26145753,"url":"https://github.com/gladchinda/advanced-multer-node-sourcecode","last_synced_at":"2025-09-09T16:32:42.534Z","repository":{"id":281198875,"uuid":"112166212","full_name":"gladchinda/advanced-multer-node-sourcecode","owner":"gladchinda","description":"Source code for tutorial on advanced photo upload in Node using Multer and Jimp.","archived":false,"fork":false,"pushed_at":"2018-06-29T10:25:16.000Z","size":380,"stargazers_count":24,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T03:09:29.445Z","etag":null,"topics":["demo","expressjs","javascript","jimp","multer","nodejs","photo-upload","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gladchinda.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":"2017-11-27T08:04:07.000Z","updated_at":"2022-11-19T17:18:59.000Z","dependencies_parsed_at":"2025-03-07T14:45:36.426Z","dependency_job_id":"862bfeeb-3c20-417c-af2f-5b00c19cf501","html_url":"https://github.com/gladchinda/advanced-multer-node-sourcecode","commit_stats":null,"previous_names":["gladchinda/advanced-multer-node-sourcecode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fadvanced-multer-node-sourcecode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fadvanced-multer-node-sourcecode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fadvanced-multer-node-sourcecode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gladchinda%2Fadvanced-multer-node-sourcecode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gladchinda","download_url":"https://codeload.github.com/gladchinda/advanced-multer-node-sourcecode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813795,"owners_count":21165634,"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":["demo","expressjs","javascript","jimp","multer","nodejs","photo-upload","tutorial"],"created_at":"2025-03-11T04:54:54.027Z","updated_at":"2025-04-14T03:09:35.584Z","avatar_url":"https://github.com/gladchinda.png","language":"JavaScript","readme":"# advanced-multer-node-sourcecode\n\n**You can checkout the complete tutorial on Scotch: [Advanced Photo Upload in Node](https://scotch.io/tutorials/advanced-photo-upload-in-node).**\n\nSource code for tutorial on advanced photo upload in Node using Multer and Jimp. In order to run the demo on your local machine and experiment with the source code, do the following:\n\n- Clone the repository into a new directory on your machine\n\n- Run the following command from the new directory to install the dependencies:\n\n```sh\nnpm install\n```\n\n- Create a `.env` file in the root of the new directory with the following content:\n\n```ini\n\n# Avatar Upload Variables\n\nAVATAR_FIELD=avatar\nAVATAR_BASE_URL=/uploads/avatars\nAVATAR_STORAGE=public/uploads/avatars\n\n```\n\n- The app will run on port **3000** by default. If you would prefer another port, you can specify it in the `bin/www` file. Look for the following line in the file and replace `'3000'` with your desired port.\n\n```js\nvar port = normalizePort(process.env.PORT || '3000');\n```\n\n- Finally, start the demo app by running the following command:\n\n```sh\nnpm start\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgladchinda%2Fadvanced-multer-node-sourcecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgladchinda%2Fadvanced-multer-node-sourcecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgladchinda%2Fadvanced-multer-node-sourcecode/lists"}