/pet-wars

pet wars: The polling awakening

Primary LanguageJavaScriptMIT LicenseMIT

pet wars: the polls awakening

A realtime polling app. Built with Next.js and Pusher.

View tutorial

Getting Started

# clone repo
git clone git@github.com:Robophil/pet-wars.git

# install dependencies
yarn

# Pusher credentials
Use pusher credentials from your dashboard in pages/index.js and server.js

# start server
yarn run server

# start app
yarn run dev

Prerequisites

  1. node
  2. npm

Built With

  • Pusher - APIs to enable devs building realtime features
  • NextJs - Framework for server-rendered or statically-exported React apps

Acknowledgments

https://github.com/robophil/nextjs-javascript-starter

Next.js simple JavaScript starter repository.

how to use

  1. git clone git@github.com:Robophil/pet-wars.git
  2. cd pet-wars
  3. run yarn or npm install
  4. go ahead and build awesomeness

run app

yarn run dev or npm run dev

see app running at http://localhost:3000/