This is a component for uploading images to be used as Avatars in a Web Application built with React.
It allows users to select an image file by DnD (Dragging and Dropping) an image file onto the upload area, or by click on it and selecting a file from the explorer window.
The technologies used in this project, besides React, are styled-coponents and Typescript.
After clonning this repository all you need to do is run the following commands
yarn install | npm install
yarn start | npm start
To run the tests simply run the following command inside the project directory.
The testing tools used on this project are Jest and @testing-library/react
yarn test | npm run test