This webapp is the admin console of the Coding Blocks' CodeQuiz platform.
The CodeQuiz™ platform will power multiple web and mobile apps. It is fundamentally a repository of multiple-choice questions (MCQ) on topics related to coding, programming, and computer languages.
Right now, there are two collections -
- Users - List of users, with roles like Administrator granted to some
- Questions - List of all questions.
The question object looks a bit like this
{
question: "What is C++?",
options:
[
{option: "A programming language", correct: true},
{option: "A scientific language", correct: false},
{option: "A language extended from C", correct: true},
{option: "A dynamically typed language"} //The correct field might not exist
],
tags: {"cpp", "languages"}
author: {...} // Pointer to user object
}Click here to see demo hosted on Heroku
You will need the following things properly installed on your computer.
You'd also need a Parse installation, either on your local machine, or remote (You can use Parse hosting services such as http://back4app.com.
git clone <repository-url>this repositorycd cbqotdnpm installbower install
ember serve- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate for more details
ember testember test --server
ember build(development)ember build --environment production(production)
You can just perform ember build and statically host the dist folder on a
static web host. Or you can host it on any server that supports Node.JS.
The npm start command is already configured to run a livereload server.
