node-prisma-structure
Version:
A Node.js API structure using Prisma ORM for scalable and modular development. This package includes a complete authentication API (signup, login, logout, password reset, and token-based authentication) and provides a well-organized directory structure fo
63 lines (50 loc) • 4.02 kB
JavaScript
module.exports = {
"validation.required": "Please enter {label}",
"validation.empty": "Please enter {label}",
"validation.max": "{label} must not exceed {max} characters",
"validation.min": "{label} must be at least {min} characters long",
"number.validation.max": "{label} must be less than or equal to {max}",
"number.validation.min": "{label} must be at least {min}",
"text_field_already_exist": "This {key} is already associate with an account",
"text_email_already_exist": "Email already in use. Please choose a different email or login to your existing account.",
"can_not_use_disposable_email": "This email address '{email}' is identified as disposable and cannot be used. Please provide a valid and active email address.",
"mobile_number_not_valid": "The mobile number '{mobile}' you have provided is invalid. Kindly ensure that you enter a valid and active mobile number.",
"api_key_missing": "API key missing.",
"invalid_api_key": "Invalid API key",
"token_missing": "Access denied, token missing.",
"token_invalid": "Access denied, invalid token provided.",
"token_expired": "Access denied, token expired.",
"something_went_wrong": "Oops! Something went wrong. Please try again later",
"success": "Success",
"failed": "Failed Request!",
"no_data": "No data found",
"invalid_email": "Please enter valid email",
"user_inactive_by_admin": "Your profile has been disabled by the administrator. Please contact admin for more information",
"user_account_delete": "Your profile has been deleted.",
"user_account_not_verified": "Your profile has not been verified.",
"user_complete_profile": "Complete your profile",
"rest_keywords_user_signup_success": "Your account has been created successfully. A verification email has been sent to your registered email address. Please check your inbox to verify your email.",
"rest_keywords_user_complete_profile_success": "Complete profile successfully",
"rest_keywords_user_login_success": "Login successfully",
"rest_keywords_user_invalid_credential": "Incorrect email or password, Please try again",
"rest_keywords_user_password_invalid": "Incorrect password, Please try again",
"logout_success": "Logout successfully",
"delete_success": "Account delete successfully",
"check_your_email_for_reset_password":"Please check your email for the instructions to reset your password.",
"use_provided_link_for_reset_password":"Kindly use the link below to reset your account password. If you did not request this, please ignore this message.",
"reset_password_link_expired":"Please note that the password reset link has expired. If you require assistance, kindly request a new reset link.",
"verification_mail_sent_success":"Verification email has been successfully resent. Please check your inbox to verify your email address.",
"already_verify_your_account":"You have already verified your account.",
"verification_link_expired":"The verification link has expired. Please request a new verification email to complete your account verification.",
"account_has_been_verified":"Your account has been successfully verified.",
"user_not_found": "Account not found, please try again",
"access_provided_link_for_verify_account":"Please access the provided link to verify your account.",
"password_added_success": "Password added successfully",
"password_changed": "Password changed successfully",
"current_password_not_match": "Your current password does not match our records. Please try again.",
"old_password_same": "Old password and new password cannot be same",
"new_password_and_confirm_same": "New password and confirm password can be same",
"user_details_success": "User detail found",
"user_details_failed": "User detail not found",
"rest_keywords_user_profile_edit_success": "Profile update successfully",
};