Giter Site home page Giter Site logo

interview-case-study's Introduction

Supplycart Interview Case Study

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.

Instructions

  • 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

Requirements

You must work on this assignment using:

  • Vue (optional for BE dev)
  • TailwindCSS
  • Laravel (optional for FE dev)

Tasks

  1. As guest, I want to be able to register an account
  2. As guest, I want to be able to login using registered account
  3. As user, I want to see list of products after login
  4. As user, I want to be able to add product to cart
  5. As user, I want to be able to place order for added products in cart
  6. As user, I want to see my order history
  7. As user, I want to be able to logout

Bonus Tasks

  1. Verify email after registration
  2. User activity log e.g. login, logout, add to cart, place order etc
  3. Product attributes and filtering e.g brand, category
  4. Different user can see different price for products
  5. Add unit tests
  6. 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.

Installation

  1. Clone the repository
  2. 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=
  1. 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
  1. Website should be running on http://localhost

interview-case-study's People

Contributors

zdirnecamlcs96 avatar az-iar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.