Skip to content

alan910127/db-homework2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Database Systems Homework 2

Topic: Food Ordering Service part.1
Deadline: 2022/05/20 23:59

Virtual Environment Setup

  1. Change directory to this repo directory.

    cd db_homework2
  2. Create the virtualenv

    virtualenv -p python3 venv
  3. Activate the virtualenv

    source activate

In venv

  1. Install the following python packages
    pip install Flask
    pip install Flask-SQLAlchemy
    pip install flask-marshmallow
    pip install marshmallow
    pip install marshmallow-sqlalchemy
    pip install Flask-Cors

Note:

Make sure that you are in venv by typing source activate in command line before running the backend script app.py

Frontend Structure

App.vue
 ├─ LoginView.vue
 │    ├─ SigninPage.vue
 │    └─ SignupPage.vue
 │
 └─ HomeView.vue
      ├─  HomePage.vue
      │    ├─ UserProfile.vue
      │    ├─ SearchShop.vue
      │    └─ ShopList.vue
      │         └─ MenuPage.vue
      │
      └─ ShopPage.vue
           ├─ ShopRegister.vue
           └─ AddMeal.vue

Backend Functions

  • login(inputData)
  • register(userData)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published