A realtime polling app. Built with Next.js and Pusher.
# 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
- node
- npm
- Pusher - APIs to enable devs building realtime features
- NextJs - Framework for server-rendered or statically-exported React apps
https://github.com/robophil/nextjs-javascript-starter
Next.js simple JavaScript starter repository.
git clone git@github.com:Robophil/pet-wars.git
cd pet-wars
- run
yarn
ornpm install
- go ahead and build awesomeness
yarn run dev
or npm run dev
see app running at http://localhost:3000/