A stock trading web app designed for beginners. Built for an interview coding task. The app is composed of a VueJS single page application frontend and a Flask backend REST API.
Instructions for setup and running on your local machine.
You need to have npm and Python 3 installed.
# clone the project
git clone https://github.com/viv-li/bonsai
Navigate to frontend/bonsai-app/
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run serve
# build for production with minification
npm run build
In a new tab, navigate to backend
, and make sure you have Python 3 running.
# check which version of Python
python --version
If you're not running Python 3, you can use a virtualenv.
# Follow instructions above to activate virtualenv is you need to
# install dependencies
pip install -r requirements.txt
# serve at localhost:5000
python manage.py runserver