AI Implementation feature(823): Landing Page and Login/Register Modal (#11)

This commit was merged in pull request #11.
This commit is contained in:
2026-07-21 18:34:45 +00:00
parent 8476e4a59f
commit 685a8bca84
51 changed files with 2354 additions and 226 deletions
@@ -0,0 +1,19 @@
import { Controller, Get } from '@nestjs/common';
import { ApiTags, ApiOperation } from '@nestjs/swagger';
import { Public } from '../../common/decorators/public.decorator';
import { BlogService } from './blog.service';
import { PublicBlogList } from './dto/blog.dto';
@ApiTags('blog')
@Controller('api/v1/blog')
export class BlogController {
constructor(private readonly blog: BlogService) {}
@Public()
@Get('posts')
@ApiOperation({ summary: 'Public list of published blog posts' })
async listPosts(): Promise<PublicBlogList> {
const posts = await this.blog.listPublished();
return { posts };
}
}