It is my term porject repo of Database Course(2021 spring) in Tongji University
This repo contain the term project of Tongji University's Database Course in 2021 spring. The tech stack is as follows:
- backend:Flask
- frontend:Vue+Element UI
- database:SQLite
The features are as follows:
- user management
- health data management
- sports plans management
- sports records management
- sports share management
- comments to shares management
.
│
├─database-backend
│ │ app.py
│ │ requirements.txt
│ │
│ ├─account_manage
│ │ │ account_models.py
│ │ │ bodydata.py
│ │ │ user.py
│ │ └─__init__.py
│ │
│ ├─config
│ │ │ config.py
│ │ │ data.sqlite
│ │ └─__init__.py
│ │
│ ├─db_manage
│ │ │ sql.py
│ │ └─__init__.py
│ │
│ ├─share_manage
│ │ │ share.py
│ │ │ share_models.py
│ │ └─__init__.py
│ │
│ ├─sports_manage
│ │ plan.py
│ │ record.py
│ │ sports_models.py
│ └─__init__.py
│
│
└─database-frontend
│
└─src
│ App.vue
│ main-dev.js
│ main-prod.js
│
├─components
│ Home.vue
│ Stat.vue
│
├─pages
│ ├─account
│ │ Bodydata.vue
│ │ Center.vue
│ │ Modifypassword.vue
│ │
│ ├─plan
│ │ Plan.vue
│ │
│ ├─record
│ │ Record.vue
│ │
│ ├─share
│ │ Allshare.vue
│ │
│ └─user
│ Login.vue
│ Regist.vue
│
├─plugins
│ element.js
│
└─router
index.js
-
OS:Windows10
-
Frontend:
yarn install //install dependency yarn run serve //run in dev mode
-
Backend:
pip install requirements.txt //install packages. If there is any missing, please follow the prompts python app.py //run in debug mode
The repo is currently owned by https://github.com/teamwong111 maintain
If I have infringement or you have any questions, please contact me by email [email protected]