Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

React version of webpoll

NotificationsYou must be signed in to change notification settings

skygear-demo/react-dinnerpoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A serverless polling web app usingSkygear as cloud database.https://reactdinnerpoll.skygeario.com/static/

Skygear features demonstrated:

  • User Authentication: Sign in/up/out
  • Cloud Database
    • Basic CRUD: CRUD a vote
  • PubSub: Hot reloading when others voted
  • Cloud Functions
    • Raw SQL execution
    • Trigger by Client SDK
      • op in JS cloud code (index.js)
      • lambda in JS SDK (ResultsChart.js)

Quick start

Development:

git clone https://github.com/skygear-demo/react-dinnerpoll.gitcd dinner-pollyarn install# npm install, if you are using npmyarn start

Deploying:

yarn buildyarn deploy

Remarks for building React app with Skygear

  1. Provide the website root URL in thehomepage field inpackage.json to tell React to build the app relatively to it
  2. Rename thebuild directory topublic_html after building

(This app has already been properly configured)

To-do

none


[8]ページ先頭

©2009-2025 Movatter.jp