Code Monkey home page Code Monkey logo

meta-quiz's Introduction

META QUIZ ๐Ÿ”ฎ

Installation

> npm install

Env

rename .env.example to .env and populate your API Key Quiz API Key from https://quizapi.io/

QUIZ_API_KEY=xxxxx

Start Server

> npm start

Meta Quiz Listening on 8006

In New Terminal, Start Meta Quiz

> npm run meta-quiz

> [email protected] meta-quiz
> node quizApp.js


            โ–’โ–ˆโ–€โ–„โ–€โ–ˆ โ–ˆโ–€โ–€ โ–€โ–€โ–ˆโ–€โ–€ โ–ˆโ–€โ–€โ–ˆ ใ€€ โ–’โ–ˆโ–€โ–€โ–ˆ โ–’โ–ˆโ–‘โ–’โ–ˆ โ–€โ–ˆโ–€ โ–’โ–ˆโ–€โ–€โ–€โ–ˆ ใ€€ 
            โ–’โ–ˆโ–’โ–ˆโ–’โ–ˆ โ–ˆโ–€โ–€ โ–‘โ–‘โ–ˆโ–‘โ–‘ โ–ˆโ–„โ–„โ–ˆ ใ€€ โ–’โ–ˆโ–‘โ–’โ–ˆ โ–’โ–ˆโ–‘โ–’โ–ˆ โ–’โ–ˆโ–‘ โ–‘โ–„โ–„โ–„โ–€โ–€ ใ€€ 
            โ–’โ–ˆโ–‘โ–‘โ–’โ–ˆ โ–€โ–€โ–€ โ–‘โ–‘โ–€โ–‘โ–‘ โ–€โ–‘โ–‘โ–€ ใ€€ โ–‘โ–€โ–€โ–ˆโ–„ โ–‘โ–€โ–„โ–„โ–€ โ–„โ–ˆโ–„ โ–’โ–ˆโ–„โ–„โ–„โ–ˆ ใ€€
        
? Enter your name โ€บ 

Run Tests

> npm test
> [email protected] test
> ./node_modules/jest/bin/jest.js ./tests/

 PASS  tests/quiz.test.js
  POST /check-performance
    โœ“ should increase difficulty level from Easy to Medium (24 ms)
    โœ“ should decrease difficulty level from Hard to Medium (2 ms)
    โœ“ should decrease difficulty level from Medium to Easy (1 ms)
    โœ“ should increase difficulty level from Medium to Hard (1 ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        0.297 s, estimated 1 s

meta-quiz's People

Contributors

hussainzz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.