feat: implement database setup, logging, and workflow management

- Added database configuration and migration setup using Knex.
- Implemented a logging system with Pino, including log persistence and flushing.
- Created a server runner with Fastify, integrating authentication and various API routes.
- Introduced a script sandbox for executing user-defined scripts with restricted access.
- Established initial workflows and scripts for manual and cron triggers.
- Included documentation for API endpoints and workflows.
This commit is contained in:
2026-08-14 14:22:27 +07:00
parent a2f6bcad9c
commit 5574d6f723
18 changed files with 0 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
### Manual trigger (default owner)
POST http://localhost:9000/u/default/mt
Content-Type: application/json
0
HTTP/1.1 200 - OK
content-type: application/json; charset=utf-8
content-length: 73
date: Fri, 14 Aug 2026 04:34:56 GMT
connection: close
###
POST http://localhost:9000/u/default/time-to-ntfy
Content-Type: application/json
{}
HTTP/1.1 500 - Internal Server Error
content-type: application/json; charset=utf-8
content-length: 97
date: Fri, 14 Aug 2026 04:11:52 GMT
connection: close
###
GET http://localhost:9000/admin/runs?owner=default&limit=20
###
POST http://localhost:9000/admin/workflows/reregister
Content-Type: application/json
{}
HTTP/1.1 200 - OK
content-type: application/json; charset=utf-8
content-length: 33
date: Fri, 14 Aug 2026 04:34:22 GMT
connection: close