Assume you are awesome Front-End Developer. You have requirements from Product owner that need E-Commerce Platform.
-
List 10 products in home page with product name, product image, price and "Add to Cart" button
-
When user click at product name or product image. You must redirect to product detail page which show product information.
-
When user click at "Add to Cart" button that product must display in cart pop up + calculate total price (Example Below).
-
You can use React or Next.js/Angular/Vue (We prefer React and Next.js)
-
Use CSS or SCSS with any framework like Bootstrap, Tailwind, Material-ui
-
Get products data from RESTful API https://fakestoreapi.com/
-
You can write description about your system.
-
Any explaination you can put it in README.md or put it in your code comment.
You can surprise us with any awesome idea.
Assume you are awesome Back-End Developer. Your team lead asking you to implement RESTful API to manage products for E-Commerce Platform + Admin System.
- Admin System
1.1 Login Page with Email + Password
1.2 After login redirect to the page that list all products that added from API
- RESTful API
2.1 build endpoint to list all product.
2.2 build endpoint to get product by id
2.3 build endpoint to create product (name, description, price, image) *** image must be file (multipart/form-data) not the url of the image.
2.4 build endpoint to update product
2.5 build endpoint to delete product
-
You can use any server side languages (We prefer Node.js).
-
You can use any database you like.
-
Written document (endpoint/headers/request body/response) for RESTful API so we can test it.
-
Any explaination you can put it in README.md or put it in your code comment.
-
Don't forget document for RESTful API
You can surprise us with any awesome idea.
Push your code to your github account and write step to run your application.
PS: It would be great if you use can docker and docker-compose