🚧
Afterglow-ServerNote: This project is still heavily in development and is at an early stage.
Afterglow-Server provides back-end APIs for the Afterglow workflow engine.
Roadmap
- Refactor the
Workflow
module: separate the engine from database. - Refactor the
Workflow
module: arrange tasks with a state machine. - Migrate the engine module into a new crate.
- Implement privilege and group modules.
- Implement APIs tagged with
priv-low
.
Build
-
Initialize database:
mysql -u[usename] -p[password] -h[host] < "./database/init_database.sql"
-
Build the webserver:
cargo build
-
Start the webserver:
cargo run -- --database-url=<mysql-url>
-
Generate API documentations:
cargo doc --no-deps --target-dir docs