Simple implementation of WP-REST API
Created using VueJS CDN and Bootstrap.
- Open index.html on your browser
- Type WordPress category slug in the text box
- Click on "Take Quiz" Button
- Enjoy the Game
- index.html > Simple HTML file handling the imports for VueJS and Bootstrap CDNs
- app.js > contains all the basic logic for the game and connection to the WordPress backend
app.js(line 1): const backend_endpoint = 'http://nqub8.com/projects/wpdemo';
change backend_endpoint to your WordPress installation URL
app.js(line 13): max: 5,';
this is the maximum number of questions per quiz
Game http://nqub8.com/projects/wpdemo/vuejs/
Blog http://nqub8.com/projects/wpdemo/
https://docs.google.com/presentation/d/1VX2SbjEhoEE8odur37-CNsGSTfBwhX9frh-4KsjS6YM/edit?usp=sharing
Created by: Jason Bruno