Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mhdez221993/restcountries

Test development project
https://github.com/mhdez221993/restcountries

css jest react redux test-project

Last synced: 1 day ago
JSON representation

Test development project

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.
![play-page](https://user-images.githubusercontent.com/67757001/167267550-bf32f792-f98f-4b6b-97be-1a75cf265ec4.PNG)

### The sign-in page, authenticate the user and save the JWT token and user data in the local storage.
![sign-in](https://user-images.githubusercontent.com/67757001/167267657-cc81e67e-a40b-48ee-9996-39e4e889d5c7.PNG)

### The sign-up page, register a user and seve it on the a postsgrestsql datatabase
![sign-up](https://user-images.githubusercontent.com/67757001/167267698-93ab7268-faba-4dda-9d5a-862850451ec9.PNG)

### 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.
![countries](https://user-images.githubusercontent.com/67757001/167267764-ff45c02d-6ac1-466b-b50d-a1f6eee08a64.PNG)

### [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 [email protected]: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