You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting started - Rust Programming Language
To start the axum server just install rust with above link.
Then just run cargo run to start the server.
The api will start running at
Api End points
Test Route for server status
Route
Header (case sensitive)
Function
/
-
It is just to see if the serrver is online and working as intended
Table actions
Route
Header (case sensitive)
Function
/table
action = init
It will create the User and Tasks table in the database if not already there
/table
action = drop
It will drop the User and Tasks tables along with there data
/table
action = clear
It will clear the Data from the table but will leave the tables in the database(In sql terms TRUNCATE)
It will update the field which are available in the changed fields tasks for the provided user
changed_title = <if want to change>, changed_description = <if want to change>, changed_status = <if want to change>(Should be string of value “P” or “C”)