Skip to content

PYH1107/DB

Repository files navigation

DB (112-1 Database)

  • This is for the Database lecture in 2023 Fall from NTNU TAHRD.
  • Noted by Yun-Huei Pan (May Pan).

Key Takeawys

  1. Differences between SQL and noSQL
image

HW

Notes to myself

1. For HW1:

  • Just simply biuld tables that you need
  • DO NOT forget your root password

2. For HW2:

  • Goal: This homework aims to connect the CRUD backend & frontend and also connect with mysql workbench

  • Step 1. source code download from here and this is the tutorial. You can also learn CRUD in mandarin Chinese by watching this video, which is recorded by Irene Chang, one of my best classmate ever.

  • Step 2. instructions to remember (i) create new folders: client, server (ii) steps as followings:

    • client (react) :

      • 2.1.1 npm create react-app client
      • 2.1.2 change director to your client folder
      • 2.1.3 npm start
      • 2.1.4 from folders we just downloaded : Simple-CRUD-React-Node-MySQL-main.zip\Simple-CRUD-React-Node-MySQL-main\client\src
    • 2.1.5 copy three files: App.css, App.js, and index.js. Then Replace these files into your client>src we've just added by "npm" (If "axios" doesn't exist, "npm install axios")

    • server (node.js): 2.2.1 change directr to your server folder 2.2.2 npm init (Then there should automatically appear a "package.json" file in your server folder) 2.2.3 from folders we've just downloaded: add "index.js" in Simple-CRUD-React-Node-MySQL-main.zip\Simple-CRUD-React-Node-MySQL-main\server to YOUR server folder

    (iii) Change the names of our tables and columns from index. js(in server folder) and App.js(in client folder) respecitvely

    • ask ChatGPT to change the table and column names into what you've done in HW1

3. For HW3:

About

final project: project develop by Retool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published