<p><pre><code> db.Put('myKey', {some: 'data'}, (value, err) => {})
</code></pre>
It annoys me that it reverses the standard (err, value) callback convention that everyone else uses.<p>An advantage of the standard is that you might have 0, or 2 or more value arguments to the callback. So you can return (err) or (err, value) or (err, value, optionalExtraValue) and it's fairly consistent.
Really interesting project. Couple of things:<p>1. Your Python library (easydbio) doesn't have the correct requirements listed. It depends on 'requests' being installed, add this to the setup.py install_requires call.<p>2. Make the DB class accept arguments instead of a dictionary. Just do `DB(database, token)`<p>3. The API is just a really simple CRUD to a single endpoint, why not include curl/httpie samples in the homepage?<p>4. The repository link for the Python SDK 404's (or is private). People often look at the repositories for dependencies they choose to install, not having it available is not a good signal.
This site is an embodiment of the idea that "good design is when there is nothing left to take away". I was able to very quickly grok what this was, thanks to the simple UX flow of creating a db and then being told how to go play with it.
This is great! At hackathons in the past, I usually use SQLite for development, and once everything is set, switch over to a more traditional RDBMS. This is a great site that is definitely going in the bookmarks.<p>Out of curiosity, can you elaborate on the the technologies you used for this (lang, frameworks, hosting services)? I've been trying to learn design patterns for larger software like this, so your insight would be great.
This is really elegant.<p>One note is that the python repl.it fails on an import error upon just hitting 'run', but it does work locally as expected.<p>Edit: Was able to get it working in repl.it by updating pyproject.toml like so:<p><pre><code> [tool.poetry.dependencies]
python = "^3.7"
easydbio = "*"</code></pre>
I see the JavaScript has all the async and callbacks while the Python is simple procedural. What are the benefits of the JavaScript version? It's definitely harder to grok for this newbie.<p>I also wonder what a plain ole RESTful API would look like. Why does everything need an SDK/library?<p>Ex:<p><pre><code> import requests //wish this was built in
token = '07a3e79a-c34c-4603-9a87-3fa47678d37c'
db = '51e71cb3-a40d-46bc-af3a-7bb77fde04a9'
key = 'myKey'
r = requests.get(f'https://easydb.io/{db}/{key}', auth=(token, ''))</code></pre>
The tool looks great, seems very easy to use. The UI/UX side of it is on point. The missing information about what the product is makes me hesitant to use it.<p>I looked through the pages... Tried a few times to find out what happens if I decide to use your tool after the 24H.
I looked for a pricing page and failed. Makes sense if this is just your POC/demo.<p>So yeah, the ambiguity of all this makes it highly unattractive to even evaluate. It doesn't offer any value that a terraform RDS script or even docker-compose script that renders a template to give you the copypasta database init blocks.