lab 05
This commit is contained in:
16 files changed
+1171
No files matched your search
@@ -0,0 +1,15 @@
|
||||
export const MESSAGES = {
|
||||
TABLE_READY: "Patient table is ready.",
|
||||
ROWS_INSERTED: "Rows inserted successfully.",
|
||||
|
||||
INVALID_ENDPOINT: "Not found: unknown API endpoint.",
|
||||
METHOD_NOT_ALLOWED: "Method not allowed on this endpoint.",
|
||||
MISSING_QUERY: "Bad request: no SQL query was provided.",
|
||||
INSERT_ONLY: "This endpoint only accepts INSERT statements.",
|
||||
SINGLE_STATEMENT_ONLY: "Only one statement per request is allowed.",
|
||||
|
||||
LISTENING: "Server 2 listening on port ",
|
||||
CONNECTED: "Connected to the database as ",
|
||||
CONNECTION_FAILED: "Could not reach the database: ",
|
||||
MISSING_CONFIG: "Missing database configuration, check your environment variables.",
|
||||
};
|
||||
Reference in new issue
Block a user