Create name_dictionary.json with 175 words each across mythology, food, space, nature, warriors, music, literature, gems, ocean, and weather categories. Words are short (<= 12 chars), title-cased, and suitable as Pokemon nicknames. No intra-category duplicates; cross-category overlap is intentional. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
---
|
|
# nuzlocke-tracker-ueyy
|
|
title: Create name dictionary data file
|
|
status: completed
|
|
type: task
|
|
priority: normal
|
|
created_at: 2026-02-11T15:56:26Z
|
|
updated_at: 2026-02-11T20:42:16Z
|
|
parent: nuzlocke-tracker-igl3
|
|
blocking:
|
|
- nuzlocke-tracker-c6ly
|
|
---
|
|
|
|
Create a JSON data file containing themed words for nickname generation, stored in the backend alongside other seed data.
|
|
|
|
## Requirements
|
|
|
|
- Store at `backend/src/app/seeds/data/name_dictionary.json`
|
|
- Category-keyed structure for fast lookup:
|
|
```json
|
|
{
|
|
"mythology": ["Apollo", "Athena", "Loki", ...],
|
|
"space": ["Apollo", "Nova", "Nebula", ...],
|
|
"food": ["Basil", "Sage", "Pepper", ...]
|
|
}
|
|
```
|
|
- Words may appear in multiple categories
|
|
- Categories should include themes like: mythology, food, space, nature, warriors, music, literature, gems, ocean, weather, etc.
|
|
- Target 150-200 words per category
|
|
- Words should be short, punchy, and suitable as Pokemon nicknames (ideally 1-2 words, max ~12 characters)
|
|
- This file is NOT seeded into the database — it is read directly by the backend service at runtime
|
|
|
|
## Checklist
|
|
|
|
- [x] Create `backend/src/app/seeds/data/name_dictionary.json` with the category-keyed structure
|
|
- [x] Populate each category with 150-200 words
|
|
- [x] Validate no duplicates exist within a single category
|
|
- [x] Add a utility function to load the dictionary from disk (with caching) |