Skip to content

Bible Quizzing App for competitions.

Notifications You must be signed in to change notification settings

Nissi126/TFC-BQ-Client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using the app

Go to https://bq-client.herokuapp.com/

Create a room which you want everyone to join for your quiz

Room

Set your username to QM if you'd like to make a quiz (otherwise enter whatever you want)

QM

If you want a randomly generated quiz select practice from the dropdown. practice

Next select your question type, select the chapters you want to quiz on, and click Random Question. That should push the question to everyone in the room. Example

Local Setup

You should be able to npm install then npm start and get the app running successfully in your local. Note: by default it will be pointing to the deployed WebSocket and Api endpoints.

If you want to test websocket changes make the following code changes: Uncomment var server = 'http://127.0.0.1:8000/' and comment var server = 'wss://mysterious-journey-90036.herokuapp.com'.

If you want to test bible-quiz-api changes and point to your local instance update the webserviceCall file by uncommenting the localhost endpoint and commenting the heroku ones.

These could definitely be moved to a .env file, but figure this way we have the endpoints documented in code.

About

Bible Quizzing App for competitions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • HTML 6.6%
  • CSS 6.0%
  • Dockerfile 1.5%