TinyWebDB System written in Google Apps Script to store/get tag and values to/from your Google Spreadsheet. And here we have explained how to create your own TinyWeb DB Server for FREE to use it in your projects.
We are going to expain this setup process in 3 simple steps
- Visit the url https://docs.google.com/spreadsheets/u/0/create and create a new spredsheet. Now set a title to this spreadsheet and copy the Url from the address bar.
- We only need 2 columns (A and B) so select rest columns and simply delete it. Leave the sheet name as Sheet1.
You can skip this 2nd step and go to "Deploying the script" if you don't want to do these chnages. Also you can also use your old Spreadsheet instead of creating new one. Simply copy the URL of that Spreadsheet.
- Goto Google Apps Script dashboard (https://script.google.com/home) and click on New Project. It'll open the google apps script code editor on same window.
- Copy the codes from 'Code.gs' file and Paste it there in the 'Code.gs' file on your app script editor.
- Now paste the Spreadsheet URL in var SpreadsheetUrl and also make sure if you have changed the sheet name from Sheet1 to something else then put that name in var Sheet.
- Click on the Publish button and select Deploy as web app.
Now change Who has access to the app and set it to Anyone, even anonymous.
And now click on Update/Deploy
Here is the URL of your TinyWeb DB Server. Copy this URL now.
We just have to add ?version=1.0 at the end of the url. So the final url will have this suffix at the end.
Example : final url .....zsiUUnoR9Y7B58h/exec?version=1.0
All set. Now you can use this url as Server URL of the TinyWeb DB componnet. Enjoy!!!