Skip to content

Submission/darwin quinones#1

Open
darwin-quinones wants to merge 4 commits into
Red-Valley:mainfrom
darwin-quinones:submission/darwin-quinones
Open

Submission/darwin quinones#1
darwin-quinones wants to merge 4 commits into
Red-Valley:mainfrom
darwin-quinones:submission/darwin-quinones

Conversation

@darwin-quinones
Copy link
Copy Markdown

Submission

What I built

An internal dashboard to manage a catalog of indie games + an AI chat assistant that answers natural-language questions about that catalog.

  • Dashboard — responsive CRUD table (cards on mobile, table on desktop) with pagination, modal form, and toast notifications for all actions.
  • REST APIGET/POST /api/games and GET/PUT/DELETE /api/games/[id] backed by SQLite (better-sqlite3), seeded with 12 real indie games.
  • AI Chat — streaming chat UI powered by gpt-4o-mini with 4 tools (get_games, get_game_by_id, compare_games, get_stats). The LLM never receives the full DB — it queries on demand via tool calling.

How to run

npm install
# Set your OpenAI key in .env.local:
# APENAI_API_KEY=sk-...
npm run dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant