Travel the Globe, visit the countries, One Guess at a Time!
- How did you decide on the technical and architectural choices used as part of your solution?
- The Next.JS framework provides all basic structure that is needed for this application.
- Leaflet was chosen over Mapbox for its open-source nature and simplicity, making it more appropriate for the project's scope.
- The use of the Trevor Blades Countries GraphQL endpoint adds unnecessary complexity. It lacks geolocation data so not very useful in the map context. The countries data rarely changed o it can be used as a static resource. This requirement appears aimed at demonstrating server communication skills.
- Are there any improvements you could make to the final piece?
- The endgame winning and loosing screen
- add e2e tests with playwright
- separate a game logic from the React Compomnent code and UI logic
- What would you do differently if you had more time?
- separate a game logic from the React Compomnent code and UI logic
To build all apps and packages, run the following command:
cd test-countries-map
pnpm build
To develop all apps and packages, run the following command:
cd test-countries-map
pnpm dev
Learn more about the power of Turborepo: