This case study is designed for candidates to showcase their skills and coding style focusing on Laravel, Vue and TailwindCSS. You may use more technologies apart from the 3 mentioned.
- Fork this repo to your github account
- Complete the tasks given
- Once completed, create a PR to this repository
- Lastly, add some guidance or instruction on how to run your code
You must work on this assignment using:
- Vue (optional for BE dev)
- TailwindCSS
- Laravel (optional for FE dev)
- As guest, I want to be able to register an account
- As guest, I want to be able to login using registered account
- As user, I want to see list of products after login
- As user, I want to be able to add product to cart
- As user, I want to be able to place order for added products in cart
- As user, I want to see my order history
- As user, I want to be able to logout
- Verify email after registration
- User activity log e.g. login, logout, add to cart, place order etc
- Product attributes and filtering e.g brand, category
- Different user can see different price for products
- Add unit tests
- Deploy app to a server
P/S: If you think there is a better way for us to asses your technical skills, feel free to suggest. We are constantly looking to improve our interview process.
- Clone the repository
- Copy
env
file.$ cp .env.example .env
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=example_app
DB_USERNAME=root
DB_PASSWORD=
- Run commands below
$ composer install
$ cp .env.example .env
$ ./vendor/bin/sail up
$ ./vendor/bin/sail php artisan key:generate
$ ./vendor/bin/sail php artisan migrate:fresh --seed
$ ./vendor/bin/sail npm install
$ ./vendor/bin/sail npm run dev
- Website should be running on http://localhost