A sample project which lets Employees of an organisation create & manage Polls
yarn
yarn dev
Login credentials for existing users:
Username | Password |
---|---|
tylermcginnis | abc321 |
mtsamis | xyz123 |
zoshikanlu | pass246 |
t | t |
Existing users can:
- View existing polls i. View polls already answered by the user ii. View polls not yet answered by the user
- only answer the Poll once and cannot change it. Given answers can be viewed however in read only mode.
- Create new polls
- View Leaderboard which summarises all the polls asked and answered by other users.
Ability to create new users has not yet been created.
Mock Data available from https://github.com/udacity/nd0191-c2-React-Redux-project-starter/blob/main/_DATA.js has been distributed in the application in following files:
- Users Data: https://github.com/plug-n-play/employee-polls/blob/main/src/pages/api/auth/index.js
- Questions: https://github.com/plug-n-play/employee-polls/blob/main/src/features/questions/questionsSlice.js
- generateUID: https://github.com/plug-n-play/employee-polls/blob/main/src/pages/add.js
This project has been bootstrated using the official Material UI NextJS example
Sign-in page: https://github.com/mui/material-ui/blob/v5.9.2/docs/data/material/getting-started/templates/sign-in/SignIn.js