Skip to content

Commit

Permalink
Internationalization, rework API system
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMulein committed Dec 27, 2024
1 parent eedebeb commit 1711951
Show file tree
Hide file tree
Showing 171 changed files with 4,405 additions and 1,711 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"nrwl.angular-console",
"GitHub.copilot",
"GitHub.copilot-chat",
"Codeium.codeium",
"bruno-api-client.bruno",
"GitHub.vscode-pull-request-github",
"MermaidChart.vscode-mermaid-chart",
"Graphite.gti-vscode",
"Orta.vscode-jest"
"Orta.vscode-jest",
"Google.geminicodeassist"
],
// Set *default* container specific settings.json values on container create.
"settings": {
Expand Down
3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"mongodb.mongodb-vscode",
"ms-playwright.playwright",
"mermaidchart.vscode-mermaid-chart",
"graphite.gti-vscode",
"codeium.codeium"
"graphite.gti-vscode"
]
}
Binary file modified .yarn/install-state.gz
Binary file not shown.
10 changes: 9 additions & 1 deletion chili-and-cilantro-api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ SITE_URL=http://localhost:3000
EMAIL_SENDER=noreply@chilicilantro.com
SSL_ENABLED=false
#
COMPOSE_PROJECT_NAME=chili-and-cilantro_devcontainer
COMPOSE_PROJECT_NAME=chili-and-cilantro_devcontainer
# pusher
PUSHER_APP_ID = "1234567"
PUSHER_KEY = "abcdefabcdefabcdef"
PUSHER_SECRET = "abcdefabcdefabcdef"
PUSHER_CLUSTER = "us3"
PUSHER_VERSION = "8.2.0"
# fontawesome
FONTAWESOME_KIT_ID = "abcdefabcdefabcdef"
9 changes: 8 additions & 1 deletion chili-and-cilantro-api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@
"bundle": false,
"main": "chili-and-cilantro-api/src/main.ts",
"tsConfig": "chili-and-cilantro-api/tsconfig.app.json",
"assets": ["chili-and-cilantro-api/src/assets"],
"assets": [
"assets",
{
"input": "./chili-and-cilantro-api/src/views",
"glob": "**/*.ejs",
"output": "./chili-and-cilantro-api/src/views"
}
],
"generatePackageJson": true,
"esbuildOptions": {
"sourcemap": true,
Expand Down
3 changes: 2 additions & 1 deletion chili-and-cilantro-api/src/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
handleError,
IApplication,
SchemaMap,
sendApiMessageResponse,
} from '@chili-and-cilantro/chili-and-cilantro-node-lib';
import express, { Application, NextFunction, Request, Response } from 'express';
import { Server } from 'http';
Expand Down Expand Up @@ -153,7 +154,7 @@ export class App implements IApplication {
err instanceof HandleableError
? err
: new HandleableError(err.message, { cause: err });
handleError(handleableError, res, next);
handleError(handleableError, res, sendApiMessageResponse, next);
},
);

Expand Down
Loading

0 comments on commit 1711951

Please sign in to comment.