MoA - Money of Awesome
docker compose up -d
cargo run
curl -XPOST -H "Content-type: application/json" -d '{"email": "[email protected]","password":"1234"}' 'http://localhost:8080/api/v1/users'
curl -XGET 'http://localhost:8080/api/v1/users'
curl -XGET 'http://localhost:8080/api/v1/users/{email}'
curl -XPUT -H "Content-type: application/json" -d '{"email": "[email protected]"}' 'http://localhost:8080/api/v1/users/id/1'
curl -XPUT -H "Content-type: application/json" -d '{"password": "hello"}' 'http://localhost:8080/api/v1/users/id/1'
curl -XPOST -H "Content-type: application/json" -d '{"email": "[email protected]","password":"hello"}' 'http://localhost:8080/api/v1/users/id/1'
curl -XDELETE -H 'Content-type: application/json' -d '{"email":"[email protected]", "password":"hello"}' 'http://localhost:8080/api/v1/users'