Duration: 15 hour Sprint
Over the course of a weekend we were tasked with using our knowledge of Redux and React - along with express to create a functional Survey to collect feedback from a user ... and store it on a database.
As I continue to develop my personal workflow - I am trying to get into the habit of breaking down the complexity of the project at hand. One way I do this is by making a visual To-Do list / Flow Chart for me to follow. (like the one below).
In this particular assignment - I found this useful to try and break down the task at hand into manageable React Components.
- Node.js
- React.js
- Axios
- Redux
- Material.UI
- Express
- Body-Parser
- 'PG'
- Database Manager
- Clone this repository for your own access.
- Open up your editor of choice and run an
npm install - Using the provided
data.sqlfile - set up a database. - Open two Terminal Tabs
- Run
npm run serverandnpm run clientin your terminal - Navigate to http://localhost:3000/
This web application is meant to act as a survey to collect data from students:
- Using the provided radio buttons answer each question in the form - using the
NEXTbutton to continue navigation. - Prior to pressing submit - review your answers to verify they are correct.
- If you wish to go back and change something - either restart the survey ... or navigate back using the provided
PREVbutton. - Once ready - submit your answers!
- Want to submit more feedback!? Use the provided
START OVERbutton upon completion! - Navigate to http://localhost:3000/admin to view all of the recorded answers - and
DELETEthe ones that are no longer needed.
Given the opportunity to revisit this project - I would love to continue to fine tune the theming / styling within the Material UI components.
On the Review component - I would like to give users the option to conditionally render inputs to change their scores before submitting ... instead of having to navigate to previous pages to adjust scores. I'd also like to give users the option to flag their review as important ~ in case they need to speak to someone personally about their scores.
I would also like to add a confirmation dialogue - to prevent users from accidentally deleting the wrong row of data in Admin view. On the Admin component - I'd also like to implement something for priority sorting, or conditional rendering based on scores in the survey. (SOLVED confirmation popup)
While the project looks fine on mobile - I would like to continue to fine tune the responsiveness of the app by setting break points for mobile and different screen sizes.
Thanks to Prime Digital Academy who equipped and helped me to make this application a reality.

