How carlonchosando/zombie-game-gemini-flash works
Project type and purpose
• This is a full-stack Next.js application.
• The “frontend” is built with the new Next.js App Router (under src/app and src/components), and it also defines serverless API routes (under src/app/api) to generate images and stories.
File structure
• Top-level files: package.json, next.config.ts, postcss.config.mjs, public/ (static assets), tsconfig.json.
• src/app: the App Router entrypoints (layout.tsx, page.tsx), global CSS, custom hooks, and two API route folders: generate-image and generate-story.
• src/components and src/app/componentes: reusable UI components, tasks, messages, loaders, prompts, etc., plus a local “zombie game” hook.
• src/lib: shared constants, prompts, TypeScript types, and utility functions.
• No traditional database; data flows are in-memory or proxied through the API routes (likely to an external AI service).
README insights
• Bootstrapped with create-next-app, uses next/font for Google-style font optimization, deployable to Vercel.
• No explicit backend DB or third-party integrations mentioned in README, but the API routes imply calls to generation engines (e.g., OpenAI or other LLM image/story APIs).