Skip to content

Latest commit

 

History

History
executable file
·
96 lines (37 loc) · 1.87 KB

README.md

File metadata and controls

executable file
·
96 lines (37 loc) · 1.87 KB

React - Geodata APP

This app consumes GeoNames's geographical database to show information about countries and cities, Countryflag to get flags and HolidayAPI to get holiday information.

Demo

http://warm-spire-22390.herokuapp.com/

Technologies

  1. ReactJS

  2. Redux

  3. HTML5

  4. SCSS

  5. Semantic UI React

  6. Create React App as project builder.

  7. Jest for testing.

APIS

  1. Geonames
  2. HolidayAPI
  3. Countryflag

Setting up develop environment

  1. Make sure you have NodeJS and Yarn in your OS.

  2. Clone this repository in your local machine.

  3. Run $ yarn install

  4. Run development environment $ yarn start

Production deliverable

  1. Make sure you have NodeJS and NPM or Yarn in your OS.

  2. Clone this repository in your local machine.

  3. Run $ yarn install

  4. Run build $ yarn build

Production files will be under the folder build

Lint your code

  1. Eslint

  2. Using JS Standard

  3. Run $ yarn lint*

  4. If you want to run and autofix your code run $ yarn lint-fixup**

You can check the eslint errors in your IDE with these tools:

  1. ATOM: linter-eslint
  1. Sublime Text: SublimeLinter
  1. Visual Studio Code: Eslint

**Keep in mind that some fixes could edit your code, please make double check to your code and test it before a commit.