This project allows you to view repositories and commits of the user "reactjs" according to user search parameters.
The technologies used were React, redux and redux-pack (middleware for redux) to handle asynchronous requests handling, styled-components (CSS-in-JS), Jest + Enzyme to tests unit, ESLint + Prettier as linter and Ducks pattern for redux reducer bundles (https://github.com/erikras/ducks-modular-redux).
Used to facilitate access to data within an array or object and to create variables that contain this data. This feature leave the code shorter and clearer.
Used to combine arrays, set values of the prior state of the reducer, and to set values to arrays or objects in general.
Used to work with asynchronous code, as in calling a function that returns a promise. This way it is simpler and leaves the code clear.
allows writing functions without losing the current "this" scope and leaving the code shorter.
Clone the repository https://github.com/JulianaAbreu/gympass.git
In the terminal:
In the project directory, you can Install the dependencies with the command:
Run project:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.