Brazilian Portuguese Word Search Game - A full-stack application for word puzzles and games.
soletras/
├── backend/ # Flask REST API
│ ├── src/ # Source code
│ ├── tests/ # Test suite (61 tests, 88% coverage)
│ ├── app.py # Entry point
│ └── README.md # Backend documentation
├── frontend/ # React + Vite frontend
│ ├── src/ # React components
│ ├── public/ # Static assets
│ └── README.md # Frontend documentation
└── README.md # This file
cd backend
# Install dependencies
uv pip install -r requirements.txt
# Run server (http://localhost:5000)
uv run python app.py
# Run tests
uv run pytest testscd frontend
# Install dependencies
npm install
# Run dev server (http://localhost:3000)
npm run dev- 🔍 Fast word search with 253,989 Brazilian Portuguese words
- 🎯 Filter by allowed letters, required letters, and length
- 🧪 Comprehensive test suite (61 tests, 88% coverage)
- 🌐 CORS-enabled REST API
- ⚡ Optimized search algorithm
- 🎨 Modern React 18 + Vite
- 🌙 Dark mode support
- 📱 Responsive design
- 🔌 Real-time API integration
- ✨ Clean, customizable template
GET /api/search?allowed_letters=abc&required_letter=a&min_length=4&max_length=10GET /api/healthGET /api/sourcesBackend:
- Python 3.13
- Flask 2.3.3
- pytest (testing)
- uv (package management)
Frontend:
- React 18
- Vite 6
- CSS Variables (theming)
- Design the UI in Figma
- Customize frontend styles
- Add game features (scoring, hints, timer)
- Deploy to production
# Backend tests
cd backend && uv run pytest tests --cov=src
# All 61 tests passing ✅
# Coverage: 88%Contributions are welcome! The project follows clean architecture principles with:
- Separation of concerns
- Dependency injection
- Comprehensive testing
- Professional code organization
Open source and available for educational and commercial use.
Made with ❤️ for Brazilian Portuguese word enthusiasts