Bakehouse - Test Case For New Backend Developer
Bakehouse - Test Case For New Backend Developer
Scenario :
Startup A is a drinking company which want to make their own on demand delivery service.
Startup A has more than one merchants partner with different product and categories.
Startup A want to make a simple Merchant-Product management system which show a
product list, category list, and merchants. Here you are tested to make a system based on
your intuition, imagination, and technical skills joined. No login/auth module is required but
assume that you are creating this module for super admin perspective. Our primary focus is
on the requirements below and it’s functionality more.
Entities :
Merchant, Product, Category
Requirement :
1. Create Repo on either github / gitlab / bitbucket and do branching for this module
(you can do a fresh install of laravel)
2. Create migration files
3. Create eloquent models with relationships
4. Create seeders for data on tables you created or input the data by system (not
directly from the DB)
Test Case :
1. User can Create, Read, Update, and Delete data.
2. On add product page, user have to assign category. One category consist more than
one product.
3. On merchant product view, user have to assign (multiple) product. One merchant
have more than one product, and one product could be assigned on multiple
merchants. One product have different price on each merchant
4. On merchant product view, the product showed based on category.
Point plus :
1. Provide a simple homepage with search api feature for product, category, or both.
2. Provide layout for listing product and category.
Please submit this within 7 working days and sent it to [email protected]. Let
me know if you need any clarification. Good luck and thankyou