Skip to content

Instantly share code, notes, and snippets.

@svaj
Last active December 13, 2019 11:58
Show Gist options
  • Save svaj/5991d0810e6c649b82b2a512335e9d07 to your computer and use it in GitHub Desktop.
Save svaj/5991d0810e6c649b82b2a512335e9d07 to your computer and use it in GitHub Desktop.
In commercetools' solution enablement department we aim to help our customers and partners implement the best solutions with commercetools' apis. This means a lot of interacting with our apis. Very often we'll end up needing to fetch and present product data in a meaningful fashion for our customers.
Please write an application that will display a list of many products filterable by (your choice) categories, or, some manner of search ( think text and filters/facets). If you have time, also include a product detail view that fetches and shows information about a single product given its id (or sku, or slug if you want)
You should find all documentation on commercetools' api endpoints at docs.commercetools.com, You will probably be making use of the product projections endpoint.
In the email asking about this exercise, you should get some credentials for accessing a project that should have sample product data already loaded.
Feel free to use any libraries available to complete this exercise. Keep in mind commercetools provides several sdks and libraries that could be handy.
Guidelines:
All work is done in a git repository
Provide readme with instructions on how to run the application
Use any libraries you want
Try not to spend more than 4ish hours on this – don't worry if you don't finish! That's okay too.
If you *really* want to, you can spend more than 4 hours, but please let us know if you do.
If you have time, or want to show off, include tests
When you finish the application please send it (or you can invite us to the repo) with an email discussing:
Challenges you ran into
Areas of the code you are most proud of
Areas of the code you are least proud of
Tradeoffs you were forced to make
Any other notes you'd like to share
Remember that you may email me at any time with questions and I'll be sure to answer them as best as possible.
@kurtlippert
Copy link

maybe change the filetype to .md?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment