Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 729 Bytes

README.md

File metadata and controls

41 lines (24 loc) · 729 Bytes

Trivia rocks!

A simple Trivia game built in React.

10 Questions, 1 winner.

Getting started

To run the application locally you need to perform the following steps:

  1. 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

  2. type the following command:

yarn start

Requirements

NodeJS ^12, yarn

Testing

To run tests type:

yarn test

Deploy

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.