| 1234567891011121314151617181920212223 |
- const base = "http://localhost:26081/v1";
-
- export default {
- authentications: {
- login: base + "/authentications/authenticate",
- googleLogin: base + "/authentications/authenticateGoogle",
- refreshToken: base + "/authentications/refresh",
- logout: base + "/authentications/logout?userId={userId}",
- forgetPassword: base + "/authentications/ForgotPassword",
- resetPassword: base + "/authentications/RessetPassword",
- },
- users:{
- allUsers:'http://localhost:26081/v1/users',
- user:'http://localhost:26081/v1/users/{id}',
- toggleEnabled:'http://localhost:26081/v1/users/toggleEnable/{id}',
- },
- candidates:{
- allCandidates:base + "/applicants"
- },
- ads: {
- allAds: base + "/ads",
- },
- };
|