Skip to content

Using Node Server For TinyWebDB Component - Appinventor | Niotron

License

Notifications You must be signed in to change notification settings

cttricks/NodeJS-TinyWebDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NodeJS-TinyWebDB

Using Node Server For TinyWebDB Component - Appinventor | Niotron

In this tutorial you'll get to know about hosting your own TinyWebDB Instance for FREE on any shared hosting.
I'm assuming that you already have shared hosting and you are logged in to your cPanel.

⚡️ Host your own TinyWebDB Instance

Now follow the below given steps or Click here to watch tutorial video to setup Node Server.

  1. On cPanel, Under SOFTWARE section you'll get Setup Node.js App option. Click on that
  2. Click on CREATE APPLICATION button.
  3. Provide Application root, Application URL, Application startup file, and Passenger log file, Click create.

    image|690x320

  4. Now got to file manager and on /home/<Your-Domain-Name>/ you'll find tinywebdb folder as we have set Application root to tinywebdb.
  5. Inside this folder create package.json file and paste the below-given JSON
{
  "name": "tinywebdb",
  "version": "1.0.0",
  "description": "Node JS Server For TinyWebDB - Ai2 Component",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "Ct tricks",
  "license": "MIT"
}
  1. Create another file database.json and paste the below-given demo data in that.
{
  "tag1": "Hello_World",
  "tag2": "Hello_Cttricks"
}
  1. Now open index.js file and paste the codes of index.js file of this repo & save it.
  2. On NodeJS panel Stop App and click Run NPM Install (Refresh the page if the button is still not clickable)
  3. Now click START APP button.

Now visit your Application URL. It shoud https://<Your-Domain>/tinywebdb/. You can access it by clicking on the ↗️open button on the right side of Application URL.

⚠️ Please note that,
When you paste the Application URL in Service URL of TinyWebDB component, remove / from the end of the url. Example https://<Your-Domain>/tinywebdb

🎯 Demo APP/AIA

A demo app is made on Niotron Builder you can use my AIA file or can create your own on any appinventor clone.

image|690x320 image|690x320

🚀 Important Links


Enjoy your own TinyWebDB Service! 🥳

Releases

No releases published