From: Ardis Lu Date: Mon, 23 Aug 2021 03:20:46 +0000 (-0700) Subject: Add frontend demo X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=7318ea0e1ee87bf490f2efb0ee3186ef47adfd3f;p=sheets-db Add frontend demo --- diff --git a/demo/README.md b/demo/README.md new file mode 100644 index 0000000..a3989b0 --- /dev/null +++ b/demo/README.md @@ -0,0 +1,3 @@ +# sheets-db/demo + +This is a sample frontend to show how a website would interact with a Google Sheets-based database. diff --git a/demo/favicon.ico b/demo/favicon.ico new file mode 100644 index 0000000..a34cb40 Binary files /dev/null and b/demo/favicon.ico differ diff --git a/demo/generateDatabaseQuery.sql b/demo/generateDatabaseQuery.sql new file mode 100644 index 0000000..d69f53d --- /dev/null +++ b/demo/generateDatabaseQuery.sql @@ -0,0 +1,9 @@ +-- This query was generated by sheets-db +-- https://docs.google.com/spreadsheets/d/1pY-0oDh4pI8NffZQwN-AkpfJdot7bmlM9nky7w150UY/ + + CREATE TABLE table_1 ('id' INTEGER,'first_name' TEXT,'last_name' TEXT,'birthday' TEXT,'city' TEXT,'state' TEXT,'long_string' TEXT,'complex_string' TEXT,'number_column_1' INTEGER,'number_column_2' INTEGER,'number_column_3' INTEGER,'number_column_4' INTEGER,'number_column_5' INTEGER,'float_column_1' REAL,'float_column_2' REAL,'float_column_3' REAL,'float_column_4' REAL,'float_column_5' REAL); + INSERT INTO table_1 VALUES (1,'Francis','Hood','1954-03-31T08:00:00.000Z','Hialeah','Florida','This is a really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really long string. It''s over 256 characters! ID number: 1','This string has complex characters to test your encoding. Emojis: 😀😁😂 XML comment: \ No newline at end of file diff --git a/demo/index.html b/demo/index.html new file mode 100644 index 0000000..3c55d64 --- /dev/null +++ b/demo/index.html @@ -0,0 +1,169 @@ + + + + + + + + + + + + sheets-db + + + +
+

sheets-db

+ + GitHub + +
+ +
+ + + + + + + + +
SQL query output:
+
+ + + + + + + + + + \ No newline at end of file