This is a example for a simple quiz
- Clone the repository
- Run
npm install
- Run
npm start
- Open your browser and go to
http://localhost:3000
- Open the file
questions.json
- Edit the questions in the questions array with the following format:
{"question": "(question)", "answer": ["(first correct answer)", "(you can add more by adding more strings in the array)"], "image": "(image url, change this to null if you don't want an image)", "score_share_webhook": "(A discord webhook url, change this to null if you don't want to share the score)"}
- Save the file
- No need to restart the server, the questions will be reloaded automatically
- Fork the repository
- Make your changes
- Make a pull request
- Run
npm run build
- The build will be in the
dist
folder
Here are all the packages used in this project:
And here are all the people who contributed to this project:
- nobody yet
You can freely distribute this project, but please give credit to the original author and do not claim it is yours.
This project is licensed under CC0 1.0, you can read the license here or in the LICENSE.md
file.