A simple Trivia game built in React.
10 Questions, 1 winner.
To run the application locally you need to perform the following steps:
-
create a local
.env
file by copy-pasting and renaming the example provided at.env.example
. For the challenge you can use https://opentdb.com/api.php -
type the following command:
yarn start
NodeJS ^12, yarn
To run tests type:
yarn test
The project has no backend attached, and there is no live environment to try it out.
Anyway if you want to prepare the bundle on any remote environment you should run:
yarn build
and copy-paste the bundle to your server.