Employee polls is a web application to improve collaboration and transparency with in the company by creating polls with two proposed solutions
The _DATA.js file represents a fake database and methods that let you access the data.
You can check content of _DATA.js by using this Link.
- Clone the repository
git clone https://github.com/salmantec/employee-polls.git - Install dependencies
cd employee-pollsandnpm install - Run
npm run start - Navigate to
http://localhost:3000/to view the SignIn (landing) screen of application.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
- Run the application, login by selecting an existing user from the dropdown in
SignInscreen - In the
Homescreen, you could see the logged in user name in the navbar. Also, you could seeNew QuestionandAnswered Questionsections - Try to add the answers to the polls which are available in
New Questionssection - Then confirms that poll moved into
Answered Questionssection, and you can't change / modify the answer - In the
Leader boardscreen, check you score based on the number of question you have created and answered - In the
Newscreen, you could add new polls.