Crownstack Technologies Pvt. Ltd. Code Challenge For PHP Developer Summary
Crownstack Technologies Pvt. Ltd. Code Challenge For PHP Developer Summary
Summary:
The code challenge is very simple for an experienced developer and we think this is going to take around 2-4 hours only. The
purpose of the code challenge is following:
• To check how developer architects the code and how he/she write the code which is clean, readable and maintainable.
• You are free to use any library or third party code but we would like if you write code yourself instead of using a library for simple
tasks.
• When code challenge is finished please send the project file back to HR. Our developers will see your code and come back to
you.
• Candidate need to submit code challenge back within 2 weeks. In case of failure to do so we’ll not consider the application any
further.
• After submitting the code challenge to HR, please wait for couple of days before we write you back.
• The code should be in PHP. Feel free to use any PHP framework in which you are an expert. Laravel is a bonus.
Problem Statement:
The code challenge is the simple project where we are building REST APIs for a local camera store who wants to expand and have
asked you to create REST APIs so that web frontend and mobile app can consume those.
Camera store has various products which are divided into categories. User can add product into cart. Also to use the system user
must login into the system.
Here is the brief description which camera store want you to store in database
Category: A category is like Nikon or Canon which has many products under them. A category has following details -
• type (string, can only be “Mirrorless”, “full frame”, “point and shoot”, not null)
User has to login into the system and add product to cart.
• user login
Deliverables:
• Please create above said APIs and host them somewhere so that developers can consume.