Files
tabungin/apps/api/dist/main.js
Dwindi Ramadhana 6a6e74562c checkpoint: goals feature, wallet balance, and goals/wallet detail UI
- Add goals feature (models, migrations, API, web pages)
- Add reserved/centralized wallet balance service
- Add wallet detail page and overview components
- Add new UI components (progress, multi-select, FAB)
- Remove stray empty -H/-d files from working tree
2026-06-17 20:40:00 +07:00

20 lines
764 B
JavaScript
Executable File

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@nestjs/core");
const app_module_1 = require("./app.module");
const path_1 = require("path");
async function bootstrap() {
const app = await core_1.NestFactory.create(app_module_1.AppModule);
app.useStaticAssets((0, path_1.join)(__dirname, '..', 'public'));
const webOrigin = process.env.WEB_APP_URL ?? 'http://localhost:5173';
app.enableCors({
origin: webOrigin,
credentials: true,
});
app.setGlobalPrefix('api');
const port = process.env.PORT ? Number(process.env.PORT) : 3000;
await app.listen(port);
console.log(`API listening on ${await app.getUrl()}`);
}
void bootstrap();
//# sourceMappingURL=main.js.map