Sign inSign up

mcurlinoski/tiny-web-db

By mcurlinoski

Updated over 3 years ago

This is a docker image that helps MIT APP Inventor developers create TinyWebDB.

Image
0

267

mcurlinoski/tiny-web-db repository overview

ABOUT

This is dockerized version of the TinyWebDB for MIT APP Inventor. This image will help you to setup and start your own instance in just a few minutes. The demo version on this applications is available on this URL: http://tinywebdb.appinventor.mit.edu More info about how to use this component in MIT APP Inventor can be found on the following link: http://ai2.appinventor.mit.edu/reference/components/storage.html#TinyWebDB

HOW TO START THE APP

1. Create JSON file somewhere on your machine named database.json

2. Execute the following command

  docker run --rm -it -v "local-path-to-your-file/database.json":/var/www/html/database.json -p 127.0.0.1:8989:80/tcp mcurlinoski/tiny-web-db

The application should be started and accessible using localhost:8989 or http://example.com:8989

API Reference

2 endpoints available in this application

Get value by key
  POST /getvalue.php
ParameterTypeDescription
tagstringRequired
Store value with key and value
  POST /storeavalue.php
ParameterTypeDescription
tagstringRequired
valuestringRequired

NOTE

This image is created using the open source code that Kodular created for TinyWebDB: https://github.com/Kodular/TinyWebDB-PHP

You can learn more about Kodular here.

Tag summary

Content type

Image

Digest

sha256:c030c0d73

Size

142 MB

Last updated

over 3 years ago

docker pull mcurlinoski/tiny-web-db