{"message":"StardewFriends API","version":"1.0","authentication":{"description":"Most endpoints require JWT authentication","signUp":"POST /users - Create a new user account (no auth required)","login":"POST /auth/login - Get JWT token using email and password","usage":"Include JWT token in Authorization header: 'Bearer {token}'","publicEndpoints":["/health/db","/health/db-verification","POST /users","POST /auth/login"]},"endpoints":{"auth":{"login":"POST /auth/login - Body: { \"email\": \"user@example.com\", \"password\": \"yourpassword\" }"},"users":{"listAll":"GET /users [Auth Required]","getById":"GET /users/{id} [Auth Required - Own account only]","create":"POST /users - Body: { \"email\": \"user@example.com\", \"password\": \"yourpassword\" }","update":"PUT /users/{id} [Auth Required - Own account only]","delete":"DELETE /users/{id} [Auth Required - Own account only]"},"friends":{"listAll":"GET /users/{userId}/friends [Auth Required - Own friends only]","getById":"GET /users/{userId}/friends/{friendId} [Auth Required - Own friends only]","create":"POST /users/{userId}/friends [Auth Required - Own friends only]","update":"PATCH /users/{userId}/friends/{friendId} [Auth Required - Own friends only]","delete":"DELETE /users/{userId}/friends/{friendId} [Auth Required - Own friends only]"},"health":{"database":"GET /health/db [Public]","verification":"GET /health/db-verification [Public]"}},"examples":{"step1_SignUp":{"method":"POST","url":"/users","body":{"email":"alice@example.com","password":"password123"}},"step2_Login":{"method":"POST","url":"/auth/login","body":{"email":"alice@example.com","password":"password123"},"response":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}},"step3_UseToken":{"method":"GET","url":"/users/1/friends","headers":{"authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."}}}}