Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.3 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.3 KB

Description

This app looks for deals of Nintendo Switch 1st party games, like Super Mario Odissey and Legend of Zelda: Breath of the Wild.

How it works

We access another websites to look for the best price of the listed games. To do so we request the content of these sites and get exactly the part where it displays the price. However we can't directly request the html content from the client (React app) because the browser block CORS (more here). So we create a NodeJS server which will retrieve the data and give it back, so we can parse it and display the prices.

How to run

  1. Clone the repository, like git clone [email protected]:ericmadureira/switch-ip-deals.git
  2. Run yarn to install dependencies
  3. Run yarn run-app to run both React client and Node server
  4. The app will be displayed at http://localhost:3000

Libs

References

Purpose

To learn a bit of scraping, practice JS/React/Node and help my fellow gamers.