- Framework: NestJS avec TypeORM - Authentification: JWT (access + refresh tokens) - Gestion utilisateurs: CRUD complet avec validation - Routes: auth, users, parents, assistantes maternelles - Dockerfile pour conteneurisation
18 lines
355 B
TypeScript
18 lines
355 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
import { AppService } from './app.service';
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
constructor(private readonly appService: AppService) {}
|
|
|
|
@Get()
|
|
getOverView() {
|
|
return this.appService.getOverView();
|
|
}
|
|
|
|
@Get('hello')
|
|
getHello(): string {
|
|
return this.appService.getHello();
|
|
}
|
|
}
|