amendx / Quizzle

Repository from Github https://github.comamendx/QuizzleRepository from Github https://github.comamendx/Quizzle

Quizzle Project

This project was generated with Angular CLI version 6.1.1.

To start (if not set up yet)

In this project, I'm using two framworks:

  • Angular 6
  • NodeJS
  • JSON Server

First you'll need to have NodeJS installed, if you already have it, skip this step.

You can download it from here:

After your download and install NodeJS, please, 

clone this repository and run `npm install`

to install all of its dependencies.  

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Run The DB Server

First Install JSON DB Server:

Run: npm install -g json-server

Wait for it to finish

To run its database, you'll have to run it locally, please use this command line on a different terminal:

json-server --watch db.json

How to Start

  • You can register, but it's not usefull if you're running it locally.
  • Visit the Answer page, create an Answer.
  • Go to Questions page, create questions with answers previously created.
  • On the quiz page, you can create a quiz based on your questions.
  • After that, you'll be able to see all your registered quizzes and can take any of them that has not been answered.

Check out your score after you've answered your own quiz.

About


Languages

Language:TypeScript 59.7%Language:HTML 26.5%Language:CSS 11.3%Language:JavaScript 2.4%