Having a hard time making a decision? Should I? is a web app where users post poll questions with options and other users can vote for one of the options to help users finally make a choice.
View live: Should I?
- User Sign up/in with email and password (Demo account link provided).
- See polls from various users
- Create, Edit and Delete polls
- Create, Edit and Delete options for polls
- Create, Edit and Delete votes for options
- After cloning the project, from the TableTalk (root) folder, run in the terminal:
pipenv install
- In the root folder, enter the flask shell by running in the terminal:
pipenv shell
- In the root folder, create the database by running in the terminal:
flask db create
- In the root folder, migrate tables to the database by running in the terminal:
flask db migrate
- In the root folder, seed the database by running in the terminal:
flask seed all
- In the root folder, start the backend by running in the terminal:
flask run
- In the react-app folder, run in the terminal:
npm install
- In the react-app, start the frontend by running in the terminal:
npm start
- In the browser, navigate to 'http://localhost:3000/'