Coder Social home page Coder Social logo

react-trivia's Introduction

React Trivia

React version of Trivia application. The app is written with React and ES6 (ES2015), and is built using Babel and Webpack.

Check out a hosted version here.

Make it Your Own

The questions in the example above are just placeholders. It’s easy to create your own questions:

  1. Click here to download the app

  2. Modify data.js with your own questions

    The questions are loaded this way as a convenience so you can easily load index.html from the local file system (using the file:// protocol) without runnning into XHR cross origin issues. See the commented out componentDidMount in app.js for an alternative XHR implementation

  3. Open index.html. You can just double-click index.html on your local file system: no need for a web server.

Build the App

If you want modify the app and create you own build:

  1. Clone this repo

    git clone https://github.com/ccoenraets/react-trivia
    
  2. Install the dependencies

    npm install
    
  3. Modify the app in the /app folder

  4. Build the app

    npm run webpack	
    

Credits

Initially inspired by Ember Jeopardy

License

react-trivia's People

Contributors

ccoenraets avatar

Watchers

Edward J. Apostol 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.