Whizzniac is a quiz app. It is a Single Page Application with a number of quiz categories for the user to select from. The score in a particular category is persisted in the database.
The quiz used in this application is originally sourced from Open Trivia Database API.
To run the project locally, you need to go through the following steps:
- Clone the project to your local machine using the command
git clone https://github.com/nibble0101/whizzniac.git
. It requires you to have git and node installed - Create
.env
file at the root of the project directory - Copy and paste the content of
example.env
file in the.env
file you created - Create a firebase project. The values of the environment variables in the
.env
file should be the same as the corresponding value of the keys to your firebase project. - Run the command
npm install
to install dependencies - Run the command
npm run start
to start the development server onlocalhost
. Navigate tohttp://localhost:3000/
to view the app running on your machine
This project is hosted live on Netlify.