https://github.com/mhdez221993/restcountries
Test development project
https://github.com/mhdez221993/restcountries
css jest react redux test-project
Last synced: 3 months ago
JSON representation
Test development project
- Host: GitHub
- URL: https://github.com/mhdez221993/restcountries
- Owner: Mhdez221993
- Created: 2022-05-06T17:28:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-07T21:48:44.000Z (about 4 years ago)
- Last Synced: 2024-10-03T12:34:49.444Z (almost 2 years ago)
- Topics: css, jest, react, redux, test-project
- Language: JavaScript
- Homepage:
- Size: 2.12 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Restcountries
### The home page, you can play with a slot machine, starting with 20 coins given by the house.

### The sign-in page, authenticate the user and save the JWT token and user data in the local storage.

### The sign-up page, register a user and seve it on the a postsgrestsql datatabase

### The countries page, display all the countries, and has an input where you cand write the name of a country and will display a single name or many names depending on the input given.

### [Live demo](https://afternoon-depths-87814.herokuapp.com/)
## Built With
- React
- Redux
- Jest
- Enzyme
- Github flow
## Getting Started
To get a local copy up and running follow these simple example steps.
Run in your terminal `git clone git@github.com:Mhdez221993/restcountries.git`
## Run some test
```
npm test
```
## Check linters and fix them
```
npx stylelint "**/*.{css,scss}" --fix
```
```
npx eslint . --fix
```
## Helpful links
- [Create-react-app - ERROR in Plugin "react" was conflicted between ".eslintrc.json" and "BaseConfig"](https://stackoverflow.com/questions/70449712/create-react-app-error-in-plugin-react-was-conflicted-between-eslintrc-jso)
- [NodeJs no 'Access-Control-Allow-Origin'](https://quizdeveloper.com/faq/nodejs-no-access-control-allow-origin-header-is-present-on-the-requested-resour-aid2384)
- [Testing a React-Redux app using Jest and Enzyme](https://medium.com/netscape/testing-a-react-redux-app-using-jest-and-enzyme-b349324803a9)
- [Testing React with Jest and Enzyme](https://medium.com/codeclan/testing-react-with-jest-and-enzyme-20505fec4675)
## Authors
👤 **Moises Hernandez**
- GitHub: [@Mhdez221993](https://github.com/Mhdez221993)
- Twitter: [@MoisesH42060050](https://twitter.com/MoisesH42060050)
- LinkedIn: [Moises Hernandez Coronado](https://www.linkedin.com/in/moises-hernandez-9bbb17145/)
## Contributing
Contributions, issues, and feature requests are welcome!
[issues page](https://github.com/Mhdez221993/restcountries/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- To the [jobsqd](https://www.jobsqd.com/) for providing the test project