Giter VIP home page Giter VIP logo

react-example's Introduction

React Example

https://react-example-ayuajctpkc.now.sh/

An example of a react project using:

UI

  • material-ui

Store

  • redux
  • redux-saga
  • whatwg-fetch

Test & Linter

  • enzyme
  • eslint-config-airbnb
  • fetch-mock
  • redux-mock-store
  • redux-saga-test-plan

Running the app

Clone the repository, install the packages and run the app.

git clone https://github.com/rafaelugolini/react-example.git
cd react-example
npm install
npm start

The app is now accessible at http://localhost:3000

Containers

main

The app has only one container which access the store and dispatch the actions

Components

profileList

This component is called in the main container and it renders a profile component for each stock

profile

Displays the stock information and renders the profileDetails with more details

profileDetails

Displays stock details received from profile

Tests

All of the tests are located under __test__ and its mocked data located under __mocks__

To run the tests

npm test

To see the coverage

npm test -- --coverage

Deploy

I'm using now from zeit.co

npm run deploy

react-example's People

Contributors

rafaelugolini avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.