Skip to content

Real time polling app developed using React, Pusher, Express and Sequelize

License

Notifications You must be signed in to change notification settings

llapresi/fastpoll

Repository files navigation

Fastpoll

Fastpoll is a web app that allows users to create real-time polls. Fastpoll utilizes

Install + Run Locally

  1. Run npm install in project root.
  2. Run npm install in client folder.
  3. Create a .env file in project root to set DATABASE_URL (mysql:// format), PORT for sever (recommend 4000) and PUSHER_APP_ID, PUSHER_APP_KEY and PUSHER_APP_SECRET keys obtained from your Pusher Channels account.
  4. Set {"proxy": "http://localhost:XXXX"} in client/package.json to same port as your root directory .env server port
  5. Create a .env file in the client folder and set REACT_APP_PUSHER_APP_KEY to the same key as your PUSHER_APP_KEY in the root folder .env file.
  6. Run npm run dev to run both server and client in watch mode.

Run Tests

  1. Run npm run test in root directory to run server unit tests.
  2. Run npm run test in client directory to run client unit tests.

Known Issues

About

Real time polling app developed using React, Pusher, Express and Sequelize

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published