Coder Social home page Coder Social logo

xquiz's Introduction

xQuiz

筋トレクイズ&チャットアプリ

動作環境

  • React v16.8
  • yarn v1.17.3
  • Node 8+
  • Chrome 79.0.3945.88

事前準備

  1. Sign up for Chatkit
  • PUSHERのChatkitにサインインします
  • ログインしたら、Chatkitインスタンスを作成し、CredentialsタブでInstance LocatorSecret Keyをメモします
    参考画像
  • 次に、Consoleタブをクリックして、インスタンスの新しいユーザーとルームを作成します。ルームを作成したら、後で使用するため、ルームIDをメモします。
    参考画像
  1. ルートディレクトリ(/)で、.envファイルを作成し、以下のフォーマットで記述します
// .env

PORT=5200
CHATKIT_INSTANCE_LOCATOR=<your chatkit instance locator>
CHATKIT_SECRET_KEY=<your chatkit secret key>

サーバー起動方法

ルートディレクトリ(/)で以下のコマンドを実行する。ポート5200で起動します。

$ node server.js

動作確認方法

  • サーバーを起動しながら、ルートディレクトリで、以下のコマンドを実行します。
$ yarn install
$ yarn start

xquiz's People

Contributors

shunmatsuoka avatar tomu28 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

xquiz's Issues

クイズ機能

実行環境

chrome 79.0.3945.88
node: '12.4.0'

自分が行った内容

クイズ機能の作成

結果内容

問題を(とりあえず3つ)回答していき、最後に各問題の正解か不正解が表示される。

バグ

回答を入力しない際に、次の問題へ行った際にエラーが出る機能(答えを選択してください)がある。しかし、一度エラーの表示をすると消えなくなる。問題のリセット後も消えない。

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.