Giter Site home page Giter Site logo

marcocom / cosmicapp-voting-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cosmicjs/cosmicapp-voting-app

0.0 2.0 0.0 24 KB

A voting app built using React, MobX and Cosmic JS

Home Page: http://voting-app.cosmicapp.co

JavaScript 89.18% HTML 10.82%

cosmicapp-voting-app's Introduction

Voting App

alt text

A voting app that uses React for UI, MobX for state management, React Router for smooth view transitions, Cosmic JS for the CMS API, React Bootstrap for the frontend framework, Shorti for easy inline styles. View the demo here.

###Getting started

git clone https://github.com/cosmicjs/cosmicapp-voting-app
cd cosmicapp-voting-app
npm install

#####Run in development with hot reloading

npm run development
open http://localhost:3000

#####Run in production connected to default bucket

npm start
open http://localhost:3000

###Create Your Own Polls It's easy to create your own polls. All you have to do is:

  1. Create a bucket on Cosmic JS.
  2. Find the Voting App in the Apps section of your bucket.
  3. Install the voting app.
  4. Deploy your app to the web #####Run in production connected to your bucket
COSMIC_BUCKET=your-bucket-slug npm start
open http://localhost:3000

###CMS API By default the posts are connected to the Cosmic JS bucket voting-app. Sign up for Cosmic JS to add your own bucket, and edit the config.js file to point to your bucket.

cosmicapp-voting-app's People

Contributors

tonyspiro avatar

Watchers

 avatar  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.