This project was generated with Angular CLI version 6.1.1.
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.
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.
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
- 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.