Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
node_modules
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "always",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"endOfLine": "lf"
}
85 changes: 42 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,71 +1,70 @@
`#javascript` `#reactjs` `#redux` `#master-in-software-engineering`
# Getting Started with Create React App

# Redux Pill
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

<p>
<img alt="Version" src="https://img.shields.io/badge/version-1.0-blue.svg?cacheSeconds=2592000" />
</p>
## Available Scripts

> In this project, you will learn how to set up the Redux library into a ReactJS project, save a global state into it and use its middlewares to perform async actions.
>
> To achieve this goal, you will implement a real state portal with the functionality of search and filtering properties.
In the project directory, you can run:

## Index <!-- omit in toc -->
### `npm start`

- [Requirements](#requirements)
- [Repository](#repository)
- [Technologies used](#technologies-used)
- [Project delivery](#project-delivery)
- [Resources](#resources)
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

## Requirements
The page will reload when you make changes.\
You may also see any lint errors in the console.

- You must use React Router for the routing of the App
- On the home page, you must save the search field into Redux so you can retrieve it later when going to the filtering page.
- For asynchronous calls to the backend API, you should use the Redux Thunk library.
- All the code, including comments, needs to be written in English
- You must use semantic HTML5 elements for all the contents of the application, main, section, form, input types, etc
### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

## Repository
### `npm run build`

First of all you must fork this project into your GitHub account.
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

To create a fork on GitHub is as easy as clicking the “fork” button on the repository page.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

<img src="https://docs.github.com/assets/images/help/repository/fork_button.jpg" alt="Fork on GitHub" width='450'>
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

## Technologies used
### `npm run eject`

\* HTML
**Note: this is a one-way operation. Once you `eject`, you can't go back!**

\* CSS
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

\* JS
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

\* ReactJS
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

\* Redux
## Learn More

\* Redux Thunk
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

\* LocalStorage
To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

## Project delivery
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

To deliver this project you must follow the steps indicated in the document:
### Analyzing the Bundle Size

- [Submitting a solution](https://www.notion.so/Submitting-a-solution-524dab1a71dd4b96903f26385e24cdb6)
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

## Resources
### Making a Progressive Web App

**This section include all the main resources that the students should check.**
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

**Here are some examples of resources:**
### Advanced Configuration

- [Getting Started with React](https://reactjs.org/docs/getting-started.html)
- [Getting Started with Redux](https://redux.js.org/introduction/getting-started)
- [Redux fundamentals](https://egghead.io/courses/fundamentals-of-redux-course-from-dan-abramov-bd5cc867)
- [Redux thunk](https://github.com/reduxjs/redux-thunk)
- [Debounce](https://www.freecodecamp.org/espanol/news/curso-debounce-javascript-como-hacer-que-tu-js-espere/)
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
Loading