This is a Website where users can make new polls and other users can vote. Users can see the results only after submission. There is a leaderboard where the most helpful users are shown. This project is the final assessment project for Udacity's React-Redux course.
To get started:
- install all project dependencies with
yarn install
- start the development server with
yarn start
- in the root of the project run:
docker build -t your-image-name .
to build the image. docker run -d -p 3000:3000 --name your-container-name your-image-name
to run the container in the background- go to
http://localhost:3000/
- Enjoy using the app!
Refer to the following table for information about important directories and files in this repository.
would-you-rather
├── public Used By React App.
├── src Source files.
├── actions actions passed to Redux reducers.
├── components React components.
├── middleware functions called before reducers.
├── reducers reducers used by Redux to manage state.
└── utils simulates database.
├── README.md main documentation.
├── package.json used by npm for managing dependencies.
└── yarn.lock used by yarn for managing dependencies.
This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here.
State is managed by Redux and logs are shown in the console for debugging purposes using the logger thunk.