Giter VIP home page Giter VIP logo

semana-javascript-expert05's Introduction

Google Drive Clone - JS Expert Week 5.0

Welcome to the fifth Javascript Expert Week. This is the starting code to start our journey.

Tag this project with a star ๐ŸŒŸ

Preview

Checklist Features

  • Web API

    • [] It should list downloaded files
    • [] It must stream files and save them in disk
    • [] It should notify about progress of storing files to disk
    • [] It must allow uploading of files in image, video or audio format
    • [] It must reach 100% code coverage in tests
  • Web App

    • [] Should list downloaded files
    • [] Should allow uploading of files of any size
    • [] Must have upload function via button
    • [] Should display upload progress
    • [] Must have drag and drop upload function

Challenges for you to extend this project

  1. Backend: Save the file to AWS or any storage service
    • Our project today stores files on disk. the challenge is you via Stream, uploading to some cloud service
    • As a plus, keep 100% code coverage, that is, create tests for your new feature
  2. Frontend: Add frontend tests and achieve 100% code coverage
    • You learned how to test in the backend. Use the same process to create frontend unit tests with Jest
    • If you have any doubts, go to example and leave a star!
  3. Infrastructure: Publish application with your custom SSL in virtual machine
    • 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

Layout Credits <3

FAQ

  • NODE_OPTIONS is not a system recognized command, what to do?

    • If you are on Windows, the way to create environment variables is different. You must use the word set before the command.
    • Ex: "test": "set NODE_OPTIONS=--experimental-vm-modules && npx jest --runInBand",
  • SSL certificate is invalid, what to do?

    • This error happens because I generated a certificate linked to the user of my machine.
    • 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
  • I ran npm test but nothing happens, what to do?

    • Check your Node.js version. We are using version 16.8. Go to node.js website and download the latest version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.