wayscript-tinydb Code
Brought to you by:
user-one
| File | Date | Author | Commit |
|---|---|---|---|
| db | 2023-03-20 |
|
[ff8003] Create API v1 (#1) |
| flask_tinydb | 2023-03-23 |
|
[f31f67] Fix typos (#2) |
| .gitignore | 2023-03-20 |
|
[ff8003] Create API v1 (#1) |
| .triggers | 2023-03-20 |
|
[ff8003] Create API v1 (#1) |
| .wsignore | 2023-03-20 |
|
[ff8003] Create API v1 (#1) |
| README.md | 2023-03-31 |
|
[025c2f] Add deploy badge to readme (#3) |
| app.py | 2023-03-20 |
|
[ff8003] Create API v1 (#1) |
| requirements.txt | 2023-05-02 |
|
[170870] Bump flask from 2.2.3 to 2.3.2 (#4) |
A simple TinyDB API Lair template that can be used to provision databases quickly.
To start using this API -
You can checkout the available API endpoints by visiting the default endpoint of your deployed Lair.
The service stores the database in your lair root in db.json. In WayScript, you can deploy to a dev or a prod environment. Changes to the lair storage made in dev would be saved to the lair while changes made in prod are not saved. Therefore, to persist the database across invocations, you should run the service only in the dev environment.