aboutsummaryrefslogtreecommitdiff
path: root/src/app/app-constants.module.ts
blob: d1bd9f5d0d31fe8ede9f90a3f4df021e0e3eba8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export class AppConstants {
  public static BASE_API_URL = 'http://localhost:5000/api';

  public static API_USER_URL = AppConstants.BASE_API_URL + '/User';
  public static API_PROFILE_PICTURE_URL = AppConstants.BASE_API_URL + '/ProfilePicture';
  public static API_USER_LOGIN_URL = AppConstants.API_USER_URL + '/login';
  public static API_USER_REGISTER_URL = AppConstants.API_USER_URL + '/register';

  public static API_LANGUAGE_URL = AppConstants.BASE_API_URL + '/Language';
  public static API_TECHNOLOGY_URL = AppConstants.BASE_API_URL + '/Technology';

  public static API_POST_URL = AppConstants.BASE_API_URL + '/Post';
  public static API_RATING_URL = AppConstants.BASE_API_URL + '/Rating';
  public static API_FEED_URL = AppConstants.BASE_API_URL + '/Feed';
  public static API_COMMENT_URL = AppConstants.BASE_API_URL + '/Comment';

  public static PAGE_SIZE = 10;
  public static FALLBACK_PROFILE_ICON = 'assets/icons/tabler-icon-user.svg';

  public static SESSION_TOKEN_KEY = 'UserCred';
  public static ADMIN_ROLE_NAME = 'Admin';
}