This project is a simple authentication API built with Hono using an in-memory user store.
bun installbun run devServer URL:
http://localhost:3000
Returns all users.
Returns one user by id.
If user is not found, returns:
{ "error": "User not found" }Creates a new user.
Request body:
{
"name": "John Doe",
"email": "john@example.com",
"password": "123456"
}Logs in a user with email and password.
Request body:
{
"email": "john@example.com",
"password": "123456"
}