2026-02-11 17:00:16 +01:00
|
|
|
---
|
|
|
|
|
# nuzlocke-tracker-ueyy
|
|
|
|
|
title: Create name dictionary data file
|
|
|
|
|
status: todo
|
|
|
|
|
type: task
|
|
|
|
|
priority: normal
|
|
|
|
|
created_at: 2026-02-11T15:56:26Z
|
2026-02-11 21:36:50 +01:00
|
|
|
updated_at: 2026-02-11T20:23:29Z
|
2026-02-11 17:00:16 +01:00
|
|
|
parent: nuzlocke-tracker-igl3
|
|
|
|
|
blocking:
|
|
|
|
|
- nuzlocke-tracker-c6ly
|
|
|
|
|
---
|
|
|
|
|
|
2026-02-11 21:36:50 +01:00
|
|
|
Create a JSON data file containing themed words for nickname generation, stored in the backend alongside other seed data.
|
2026-02-11 17:00:16 +01:00
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
2026-02-11 21:36:50 +01:00
|
|
|
- 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
|
2026-02-11 17:00:16 +01:00
|
|
|
- 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)
|
2026-02-11 21:36:50 +01:00
|
|
|
- This file is NOT seeded into the database — it is read directly by the backend service at runtime
|
2026-02-11 17:00:16 +01:00
|
|
|
|
|
|
|
|
## Checklist
|
|
|
|
|
|
2026-02-11 21:36:50 +01:00
|
|
|
- [ ] Create `backend/src/app/seeds/data/name_dictionary.json` with the category-keyed structure
|
2026-02-11 17:00:16 +01:00
|
|
|
- [ ] Populate each category with 150-200 words
|
2026-02-11 21:36:50 +01:00
|
|
|
- [ ] Validate no duplicates exist within a single category
|
|
|
|
|
- [ ] Add a utility function to load the dictionary from disk (with caching)
|