/countries-quiz

Can you name all the countries? Play it at https://mikesaelim.github.io/countries-quiz/.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

countries-quiz

https://mikesaelim.github.io/countries-quiz/

Silly frontend app that challenges the user to name all the countries of the world. Heavily inspired by Sporcle's quiz, but uses none of their code.

Basically, I wanted a version of Sporcle's quiz that had a bigger map, so I made this for myself.

Under the covers, this is a very simple TypeScript + React app bootstrapped with Create React App, with Leaflet and react-leaflet for the map display.


Development notes for my future self

Workflow:

  • Make some changes
  • npm start to run the app locally and playtest the changes
  • npm run lint to run ESLint
  • npm test to run Jest/Testing Library tests
  • npm run build to build the assets and put them in the /docs folder
  • Commit and push changes

This repo is set up to publish the /docs folder to GitHub Pages, following the instructions here.