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
Empty file added .browserslistrc
Empty file.
3 changes: 3 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FAST_REFRESH=false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this file was intended to be tracked. I see the .env.sample

1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FAST_REFRESH=false
7 changes: 5 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"extends": ["react-app", "airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"extends": ["react-app", "react-app/jest", "airbnb", "prettier", "prettier/react", "plugin:compat/recommended", "plugin:security/recommended"],
"plugins": ["prettier", "compat", "security"],
"env": {
"browser": true
},
"rules": {
"prettier/prettier": "error",
"react/jsx-filename-extension": "error",
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# settings
.vscode/

# dependencies
/node_modules
/.pnp
Expand Down
7 changes: 7 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run lint"
}
}
7 changes: 7 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"*.{js,jsx,css,json}": [
"npm run lint:fix",
"npm run test:coverage",
"pretty-quick --staged"
]
}
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 90,
"semi": true,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": false,
"arrowParens": "always"
"arrowParens": "avoid"
}
76 changes: 74 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
# Wizeline Academy - 2021 React Bootcamp
# Web Application

Please refere to the following [GIST](https://gist.github.com/jparciga/83341911fbc8cd716be12af50c0e496a) for further instructions
This was created using create-react-app 4
Try it live @ Netlify -> https://uri-react.netlify.app/

| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/Coverage-12.82%25-red.svg) | ![Branches](https://img.shields.io/badge/Coverage-10.81%25-red.svg) | ![Functions](https://img.shields.io/badge/Coverage-9.8%25-red.svg) | ![Lines](https://img.shields.io/badge/Coverage-12.11%25-red.svg) |
Comment on lines +6 to +8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice touch!


## Application Dependenciess

These are the system dependencies you need to have in order to run the application.

| Tool | Version |
| ----------------- | ------- |
| React-Scripts | 4.0.2 |
| React | >17.0.1 |
| Styled Components | |
| Jest | |

### Frontend

| Tool | Description |
| ----------------- | --------------------------------------------------------- |
| React | Using React Library to render the Single Page Application |
| Styled Components | Using Styled Components to build CSS-in-JS |
| | |

---

### Testing

| Tool | Description |
| ---- | ---------------------------------------------------------------- |
| Jest | Using Jest Testing Framework to ensure correctness functionality |
| | |

### Methodologies

| Methodology | Description |
| ----------- | --------------------------------------------------------- |
| SMACSS | Using SMACSS methodology for CSS construction |
| BEM | Using BEM structure for class names if needed. |
| i11y | Building an application with accessibility best practices |
| i18n | Building an application ready for internationalization |
| | |

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](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.

### `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.

Run: `npm run test:coverage` to check the coverage report.

### `npm run build`

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](https://facebook.github.io/create-react-app/docs/deployment) for more information.
Loading