Skip to content

Zeng83/react-demo

Repository files navigation

Demo

This is the React project show you how to fetch api from yahoo search local. You can just select what do you want kind of food want to eat, like for example, type: thai, page will load any restaurant relate to thai food you also can search by location, choose location redio option and type for example san jose or sunnyvale all the reataurants will be show locate in san jose or sunnyvale

Prerequisites

Install, setup.

$ npm start

URLS to test things out:

  • [localhost:3000/]

in this demo we have app and SCSS folder within public folder

app

  • actions (all the actions will locate here, so we can dispatch action from components)
  • api (all the api call out fetch will be here, action will call fetch from here)
  • components (content, footer, and search bar components)
  • constants (action types)
  • containers (App component is be here in order to import all sub components)
  • reducers (we use redux to maintain the state tree) scss
  • base.scss

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published