Fullstack Web App with Flask and MySQL Database

Project Setup and Installation

  • To Setup local development environment, run:
  $ python -m pip install --user virtualenv
  • To install the pre-requisites, run:
  $ pip install -r requirements.txt

How to run the App

  • To run the app, open a Editor terminal and run:
   $ python new_app.py
  • comment out cursor.execute("CREATE DATABASE new_app") command after first run as it will show database already exists.
  • run again:
     $ python new_app.py
  • Load sales_data.csv on sales_tables.py file