theflaggship / should-i

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool





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?


Features

  • 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

Home Page:


User Profile Menu:


Create Poll Form:


Technologies

  • Python Python
  • CSS
  • HTML
  • Flask Flask
  • PostgreSQL
  • React
  • Redux
  • SQLAlchemy

Installation

  1. After cloning the project, from the TableTalk (root) folder, run in the terminal:
 pipenv install
  1. In the root folder, enter the flask shell by running in the terminal:
 pipenv shell
  1. In the root folder, create the database by running in the terminal:
flask db create
  1. In the root folder, migrate tables to the database by running in the terminal:
flask db migrate
  1. In the root folder, seed the database by running in the terminal:
flask seed all
  1. In the root folder, start the backend by running in the terminal:
flask run
  1. In the react-app folder, run in the terminal:
npm install
  1. In the react-app, start the frontend by running in the terminal:
npm start
  1. In the browser, navigate to 'http://localhost:3000/'

Contact

Montgomery Flagg:

About


Languages

Language:Python 59.5%Language:CSS 35.6%Language:HTML 1.9%Language:Dockerfile 1.1%Language:Shell 1.0%Language:Mako 0.9%