Welcome to the wishare API. The server is running successfully!
/api/auth/register - Register a new user/api/auth/login - Login user/api/items - Get all items/api/items - Create new item/api/items/:id - Get single item/api/items/:id - Update item/api/items/:id - Delete item/api/chat - Start new chat/api/chat - Get all chats/api/chat/:id - Get single chat/api/chat/:id/messages - Send message/api/users/me - Get own profile/api/users/me - Update profile/api/users/:id - Get user profile/api/users/:id/rate - Rate user/api/upload - Upload image/api/upload/:filename - Delete image/api/follow/users/:userId/follow - Follow user/api/follow/users/:userId/follow - Unfollow user/api/follow/users/:userId/followers - Get followers/api/follow/users/:userId/following - Get following/api/follow/users/:userId/follow-status - Check follow status/api/follow/users/:userId/follow-counts - Get follow counts/api/notifications - Get user notifications/api/notifications/unread-count - Get unread count/api/notifications/:id/read - Mark as read/api/notifications/mark-all-read - Mark all as read/api/notifications/:id - Delete notification/api/notifications/settings - Get notification settings/api/notifications/settings - Update notification settings/api/push/test/item - Send test item notification/api/push/test/chat - Send test chat notification/api/push/send/item-available - Send item available notification/api/push/send/chat-message - Send chat message notification/api/push/send/rating-received - Send rating notification/api/users/me/badge-count - Get badge count/api/users/me/reset-badge - Reset badge count/api/sharries/calculate - Calculate Sharries for item/api/sharries/award - Award Sharries to user/api/sharries/balance/:userId - Get user's Sharries balance/api/sharries/transactions/:userId - Get Sharries transaction history/api/email-test/status - Get email service status/api/email-test/connection - Test SendGrid connection/api/email-test/send - Send test invitation email/api/email-test/send-custom - Send custom test email/health - Health checkNote: All endpoints except registration and login require authentication via JWT token in the Authorization header.