An open API service indexing awesome lists of open source software.

https://github.com/amendx/quizzle


https://github.com/amendx/quizzle

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Quizzle Project
This project was generated with [Angular CLI](https://github.com/angular/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:
* [NodeJS](https://nodejs.org/en/download/)

```
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:
* [JSON Server](https://github.com/typicode/json-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.