/polling-app

This is a web app similar to Kahoot. Users can post questions with multiple choices and other users can vote on it. The result of each question can be viewed in real-time in the form of charts.

Primary LanguageJavaScript

Polling App

contributions welcome

GitHub contributors GitHub issues GitHub pull requests


About the Project

This is a web app similar to Kahoot. Users can post questions with multiple choices and other users can vote on it. The result of each question can be viewed in real-time in the form of charts.

Tech Stack


Getting Started with the project :

Step 1 :

Fork the repository


Step 2 :

Clone the repo. in your local computer by typing the following command in the command line

git clone https://github.com/<your-username>/polling-app.git

Step 3 :

Run npm install in the root directory to install all the necessary dependencies


Step 4 :

Run npm install in client directory for setting up the React.js application.


Step 5 :

Setting up the enviroment variables in the root directory. Make a .env file in the root directory having fields as :

GITHUB_TOKEN=""
PORT=
JWT_SECRET=""
  • To generate the GITHUB_TOKEN follow these steps link
  • PORT can be any valid port except 3000
  • JWT_SECRET can be any string of your choice

Step 6 :

Run npm run dev in the root directory for starting the application.


Step 7 :

Your application is up and running on port 127.0.0.1:3000 or localhost:3000.


Mentors


Sarthak Kundra

💻