/quiz-portal-frontend

The generic quiz portal's frontend

Primary LanguageJavaScriptISC LicenseISC

Quiz Portal Frontend

Build Status

This is the generic quiz portal's backend that is going to be used in Buzz. It would be used for events like Gordian Knot, Cache In, etc.

This is meant to be used in conjunction with the backend

Setting Up

npm i

Running in dev mode

Please make sure the backend server is also running in dev mode

npm start

Now go to http://localhost:8000/

Building

The dist folder will have the output. You may remove the .map files. Further instructions in the backend repo.

npm run build

Libraries & Devtools Used

  • Preact: A mini-version of React which has been very good despite the compact size
  • Picnic CSS: A good SCSS framework which should be extended but by default lacks some useful components
  • Preact Router: A simple routing solution for Preact that worked nicely so far
  • SuperAgent: A simple request library which does its work quite well
  • ReactPack: An awesome easy-to-use tool that makes building react projects very simple while being configurable for normal needs (Babel and Webpack are configured by this)
  • ESLint: The source code linter used to notice mistakes and a few styling rules

License

The code is provided under the MIT license