passo_mobile_app/lib/utils/urls.dart

123 lines
2.6 KiB
Dart
Raw Normal View History

class Url {
2023-01-17 07:52:31 +00:00
static final Url _instance = Url();
static Url get instance => _instance;
2023-01-17 07:52:31 +00:00
String host() {
// return '192.168.10.221:3003';
return 'agusandelnorte.gov.ph';
// return "192.168.10.219:3000";
// return "devweb.agusandelnorte.gov.ph";
// return 'devapi.agusandelnorte.gov.ph:3004';
2023-01-17 07:52:31 +00:00
}
String authentication() {
return '/api/account/auth/login/';
2023-01-17 07:52:31 +00:00
}
String profileInformation(){
return 'api/jobnet_app/profile/pds/';
}
2023-02-23 05:51:53 +00:00
String latestApk(){
return "/api/system_app/apk_version/latest";
}
////ELIGIBILITIES PATHS
String eligibilities(){
return "/api/jobnet_app/eligibilities/";
2023-02-23 00:53:14 +00:00
}
2023-02-27 06:26:27 +00:00
String getEligibilities(){
return "/api/jobnet_app/profile/pds/eligibility/";
}
2023-02-27 06:26:27 +00:00
String addEligibility(){
return "/api/jobnet_app/profile/pds/eligibility/";
}
2023-02-23 00:53:14 +00:00
String deleteEligibility(){
return "/api/jobnet_app/profile/pds/eligibility/";
}
String updateEligibility(){
return "/api/jobnet_app/profile/pds/eligibility/";
}
//// work history paths
String workhistory(){
return "/api/jobnet_app/profile/pds/work/";
}
2023-03-16 07:53:42 +00:00
String getPositions(){
return "/api/jobnet_app/positions/";
}
String getAgencies(){
return "/api/jobnet_app/agencies/";
}
2023-03-16 07:53:42 +00:00
String getAgencyCategory(){
return "api/jobnet_app/agency_categories/";
}
////educational background paths
String getEducationalBackgrounds(){
return "/api/jobnet_app/profile/pds/education/";
}
//// learning and development paths
String getLearningAndDevelopments(){
return "api/jobnet_app/profile/pds/learning_development/";
}
//// references paths
String reference(){
return "/api/jobnet_app/profile/pds/personal_reference/";
}
////voluntary works
String getVoluntaryWorks(){
return "/api/jobnet_app/profile/pds/voluntary_work/";
}
//// skills hobbies
String getSkillsHobbies(){
return "/api/jobnet_app/profile/pds/other/skill_hobby/";
}
//// orgmemberships
String getOrgMemberShips(){
return "/api/jobnet_app/profile/pds/other/org_membership/";
}
////non academic recognition
String getNonAcademicRecognition(){
return "/api/jobnet_app/profile/pds/other/non_acad_recognition/";
}
////family paths
String getFamilies(){
return "/api/jobnet_app/profile/pds/family/";
}
// location utils path
String getCounties(){
return "/api/jobnet_app/countries/";
}
String getRegions(){
return "/api/web_app/location/region/";
}
2023-02-16 07:10:54 +00:00
String getProvinces(){
return "api/web_app/location/province/";
}
2023-02-20 07:48:24 +00:00
String getCities(){
return "/api/web_app/location/citymun/";
}
String getBarangays(){
return "/api/web_app/location/barangay/";
}
String getAddressCategory(){
return "/api/jobnet_app/address_categories/";
}
2023-01-17 07:52:31 +00:00
}