GithubHelp home page GithubHelp logo

gg-quizz's Introduction

gg-quizz.now.sh

Le principe: Inspiré de https://opentdb.com, ce site vous propose de recenser questions et réponses pour de futur Quizz (ou trivia game). Cette base de données pourra ensuite être utilisée pour fournir du contenu à des bots Discord, ou toute autre application.

L'idée est de bosser ensemble sur le contenu des questions / réponses, en français, sur des thématique Jeux Vidéos (wow, ff14, etc.).

Merci à https://jeeves.bot/ pour l'inspiration et sa commande !trivia

Site web: http://localhost:3000/

Installation

npm install

Make sure to have latest nodejs (currently 10.x.x).

Run locally

npm start

# Dev mode with nodemon
npm run dev

Make sure to have a ./now.dev.json with all required informations. It replicates the usual now.json file. You need various IDs and client secret from all these providers, in order for the authentification to work. You can also choose to just implement and test one. Refer to http://www.passportjs.org/ documentation.

{
  "name": "gg-quizz",
  "public": true,

  "env": {
    "port": "3000",
    "NODE_ENV": "production",

    "DB_NAME": "@db_name",
    "DB_USER": "@db_user",
    "DB_PASSWORD": "@db_password",
    "DB_HOST": "@db_host",

    "TWITTER_CLIENT_ID": "@twitter_client_id",
    "TWITTER_CLIENT_SECRET": "@twitter_client_secret",
    "TWITTER_CALLBACK_URL": "http://localhost:3000/auth/twitter/callback",

    "GOOGLE_CLIENT_ID": "@google_client_id",
    "GOOGLE_CLIENT_SECRET": "@google_client_secret",
    "GOOGLE_CALLBACK_URL": "http://localhost:3000/auth/google/callback",

    "FACEBOOK_CLIENT_ID": "@facebook_client_id",
    "FACEBOOK_CLIENT_SECRET": "@facebook_client_secret",
    "FACEBOOK_CALLBACK_URL": "http://localhost:3000/auth/facebook/callback",

    "BNET_ID": "@bnet_id",
    "BNET_SECRET": "@bnet_secret",
    "BNET_CALLBACK_URL": "http://localhost:3000/auth/bnet/callback"
  }
}

gg-quizz's People

Contributors

mklabs avatar

Watchers

 avatar

gg-quizz's Issues

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.