This repository contains 5 complex coding challenges designed to test a freelancer's skills before hiring them for our jewelry CRM project. Each challenge represents a real error from our production codebase.
- Frontend: Next.js 14, TypeScript, React
- Backend: Next.js API Routes, Supabase
- Database: PostgreSQL (Supabase)
- Styling: Tailwind CSS
Each challenge includes:
- Problem description
- Error message
- Broken code
- Requirements
- Success criteria
- Test cases
- Code Quality (25%) - Clean, readable, maintainable code
- Error Handling (25%) - Proper error handling and validation
- TypeScript Usage (20%) - Correct types and interfaces
- Testing Approach (15%) - Test cases and validation
- Documentation (15%) - Clear explanations and comments
For each challenge, provide:
- Working code solution
- Explanation of the fix
- Test cases
- Time taken to complete
- Any questions or clarifications
- Fork this repository
- Create a branch for your solutions
- Complete each challenge in its respective folder
- Submit a pull request with your solutions
For questions about the challenges, please contact us through Upwork.
- Clone this repository
- Read each challenge carefully
- Set up your development environment
- Start with Challenge 1
- Submit your solutions
Good luck! 🍀