Spaces:
Runtime error
Runtime error
Download src/app.controller.ts from akash1313/kodelyx-backend: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/akash1313/kodelyx-backend/resolve/main/src/app.controller.ts
- Command line
-
hf download hf://spaces/akash1313/kodelyx-backend/src/app.controller.ts
-
curl -L -o app.controller.ts https://huggingface.co/spaces/akash1313/kodelyx-backend/resolve/main/src/app.controller.ts
338 Bytes
| import { Controller, Get } from '@nestjs/common'; | |
| () | |
| export class AppController { | |
| () | |
| getHello() { | |
| return { | |
| status: 'active', | |
| service: 'Kodelyx API Server', | |
| message: 'Welcome to the backend API. Please use the frontend client to interact.', | |
| timestamp: new Date().toISOString(), | |
| }; | |
| } | |
| } | |