Simple todo app demonstrating Vue.js/Vuex working with a REST API.
Built with:
- Flask (web server)
- Marshmallow (object serialization/deserialization)
- SQLAlchemy (ORM)
- Alembic (migrations)
- MySQL (database)
- python >= 3.6.0
- pipenv >= 11.9.0 (e.g.
brew install pipenv
on OS X) - mysql >= 5.7.21
These instructions assume MySQL is running on localhost:3306
with the root
user available.
cd server
# Install dependencies
pipenv install
# Create DB
make create_db
# Run migrations
make run_migrations
# Seed database with initial data
make seed
# Run dev server
make run
Built with:
- Vue.js (UI framework)
- Vuex (state management)
- vue-router (routing)
- vue-cli (tooling)
- axios (HTTP client)
- node >= 8.6.0
- yarn >= 1.5.1
cd client
# Install dependencies
yarn install
# Run dev server
yarn serve