From a637ea6501303ae8429f86afacbafad6dce0b3c5 Mon Sep 17 00:00:00 2001 From: sBubshait Date: Thu, 7 Aug 2025 04:15:36 +0300 Subject: [PATCH] feat: updated endpoints in UI --- frontend/lib/constants/api_constants.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/lib/constants/api_constants.dart b/frontend/lib/constants/api_constants.dart index cdb6ebd..6081edc 100644 --- a/frontend/lib/constants/api_constants.dart +++ b/frontend/lib/constants/api_constants.dart @@ -1,8 +1,12 @@ class ApiConstants { - static const String baseUrl = 'https://api.wesal.online'; + static const String baseUrl = 'http://localhost:8080'; // Auth endpoints static const String loginEndpoint = '/login'; + static const String registerEndpoint = '/register'; + static const String checkInvitationEndpoint = '/checkInvitation'; + static const String createInvitationCodeEndpoint = + '/admin/createInvitationCode'; // User endpoints static const String getUserEndpoint = '/getUser';