- create a .env file in the root using the .env.example
cargo runto start the API
POST to /register to create a user
{
"username": string,
"password": string,
"email" : string,
"name" : string
}POST to /login to create a session
{
"username": string,
"password": string,
"email" : string,
"name" : string
}