Giter Site home page Giter Site logo

login-chat's Introduction

login-chat

chat app with signup

使い方

  • /index.html

ログインしてチャットを行う画面。ログイン後は閲覧のみが出来る。

デモ:http://milk-cocoa.github.io/login-chat/

  • /manage.html

チャットの投稿が出来るユーザを追加できる。

デモ:http://milk-cocoa.github.io/login-chat/manage.html

デモでは、誰でも管理画面がいじれるようになっています。

動かし方

auth0の設定はこちら。 https://mlkcca.com/document/start-js-auth.html

security.ruleはmilkcocoaの管理画面で貼付ける。

security.rule内の、allowsにて管理ユーザのIDを指定しておく。そのユーザだけmanage.htmlでユーザの追加ができるようになる。

allows {
    permit : all;
    rule : account.sub == "auth0|55450586ff858d44336428aa"; <- 管理ユーザのID
}

login-chat's People

Contributors

syuhei176 avatar

Stargazers

 avatar Masaki Takahashi avatar  avatar n0bisuke avatar

Watchers

James Cloos avatar  avatar Nobkz avatar Shunsuke Tadokoro avatar Kiyohiko Heima 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.