{"id":19573042,"url":"https://github.com/erickwendel/semana-javascript-expert05","last_synced_at":"2025-05-16T08:06:58.995Z","repository":{"id":47143495,"uuid":"402772452","full_name":"ErickWendel/semana-javascript-expert05","owner":"ErickWendel","description":"JS Expert Week 5.0 classes - Google Drive Clone","archived":false,"fork":false,"pushed_at":"2025-04-29T23:28:20.000Z","size":2658,"stargazers_count":1559,"open_issues_count":1,"forks_count":181,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-04-30T00:25:52.796Z","etag":null,"topics":["file","frontend","javascript","nodejs","stream","upload"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/ErickWendel.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}},"created_at":"2021-09-03T13:03:49.000Z","updated_at":"2025-04-29T23:28:25.000Z","dependencies_parsed_at":"2022-08-24T14:37:36.596Z","dependency_job_id":null,"html_url":"https://github.com/ErickWendel/semana-javascript-expert05","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErickWendel%2Fsemana-javascript-expert05","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErickWendel%2Fsemana-javascript-expert05/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErickWendel%2Fsemana-javascript-expert05/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErickWendel%2Fsemana-javascript-expert05/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErickWendel","download_url":"https://codeload.github.com/ErickWendel/semana-javascript-expert05/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493385,"owners_count":22080127,"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":["file","frontend","javascript","nodejs","stream","upload"],"created_at":"2024-11-11T06:31:40.342Z","updated_at":"2025-05-16T08:06:53.987Z","avatar_url":"https://github.com/ErickWendel.png","language":"JavaScript","readme":"# Google Drive Clone - JS Expert Week 5.0\n\nWelcome to the fifth Javascript Expert Week. This is the starting code to start our journey.\n\nTag this project with a star 🌟\n\n## Preview\n\n![](./resources/demo.gif)\n\n\n## Checklist Features\n\n- Web API\n    - [] It should list downloaded files\n    - [] It must stream files and save them in disk\n    - [] It should notify about progress of storing files to disk\n    - [] It must allow uploading of files in image, video or audio format\n    - [] It must reach 100% code coverage in tests\n\n- Web App\n    - [] Should list downloaded files\n    - [] Should allow uploading of files of any size\n    - [] Must have upload function via button\n    - [] Should display upload progress\n    - [] Must have drag and drop upload function\n\n\n## Challenges for you to extend this project\n\n1. *Backend*: Save the file to AWS or any storage service\n     - Our project today stores files on disk. the challenge is you via Stream, uploading to some cloud service\n     - As a plus, keep 100% code coverage, that is, create tests for your new feature\n2. *Frontend*: Add frontend tests and achieve 100% code coverage\n    - You learned how to test in the backend. Use the same process to create frontend unit tests with Jest\n    - If you have any doubts, go to [example](https://github.com/ErickWendel/tdd-frontend-example) and leave a star!\n3. *Infrastructure*: Publish application with your custom SSL in virtual machine\n    - You learned how to generate local SSL, the challenge is for you to create a certificate (it can be with *Let's Encrypt*) and add it to your application\n\n## Layout Credits \u003c3\n\n- The Layout was adapted from the project by the Brazilian [Leonardo Santo](https://github.com/leoespsanto) available on [codepen](https://codepen.io/leoespsanto/pen/KZMMKG).\n\n## FAQ\n- `NODE_OPTIONS` is not a system recognized command, what to do?\n    - If you are on Windows, the way to create environment variables is different. You must use the word `set` before the command.\n    - Ex: ` \"test\": \"set NODE_OPTIONS=--experimental-vm-modules \u0026\u0026 npx jest --runInBand\",`\n\n- SSL certificate is invalid, what to do?\n    - This error happens because I generated a certificate linked to the user of my machine.\n    - You can click on proceed in the browser and use the invalid certificate and the project will continue working, but if you want to generate your own, I wrote the step by step in [./certificates](./certificates)\n\n- I ran `npm test` but nothing happens, what to do?\n    - Check your Node.js version. We are using version 16.8. Go to [node.js website](https://nodejs.org) and download the latest version.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferickwendel%2Fsemana-javascript-expert05","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferickwendel%2Fsemana-javascript-expert05","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferickwendel%2Fsemana-javascript-expert05/lists"}