[video] A fullstack ecommerce web application with JavaScript frontend, interfacing with flask backend and data stored on an Oracle SQL database.
- Change directory into folder with main.py
- Install dependencies on python3 with
pip install -r requirements.txt
- Wipe and initialize database (WARNING: RUNNING database.py WILL WIPE THE EXISTING STORED DATABASE)
python database.py
Ensure database keys are set in:
HOST_NAME = "/"
PORT_NUMBER = "/"
SERVICE_NAME = "/"
USERNAME = "/"
PASSWORD = "/"
This is for running the development server.
- On Anaconda Prompt, run
python main.py
- Go to http://127.0.0.1:5000/
This is for running the production server. ngrok is used here for reference, though you may use other services if preferred.
- Run flask server deployment script
python serve.py
- Run ngrok
ngrok http 8000
Code from this repository should not be used for commercial purposes without consent from the author. If you wish to use code from this repository for your own platform or academic purposes, please acknowledge the source code and its origin. Thank you for your understanding.
@misc{sdattaECOMM,
title={superclean-ecommerce},
author={Datta, Siddhartha},
year={2020},
howpublished={\url{https://github.com/dattasiddhartha/fullstack-ecommerce}},
}