A simple web server that serve APIs to run just tasks remotely.
POST /run
- Shedule a new taskPOST /reset/{id}
- Reset task status so it will be run againPOST /canel/{id}
- Delete a task from sheduleGET /list/{page}
- Get a list of recent tasks
See test.rest
for how to use the APIs.
An example web page is created for my own need.
- Axum: Web server framework
- SeaORM: Sqlite database operations
- Dioxus: Create web pages
- Install just
- Edit
.env
file to set environment variables - Inside
WORK_DIR
create ajustfile
and define your tasks - Start the server
- Use xh or VSCode REST client to call the APIs.
- Run
just build --release
to build the server - Run
just run --release
to run the server