Code Monkey home page Code Monkey logo

commentsold-test's Introduction

CommentSold Code Test

Requirements

  • PHP 8.x
  • composer
  • npm
  • Docker Desktop (to run the development version)

Local Development

This project uses Laravel Sail for local development.

To get started after cloning the project:

  • Copy .env.example to .env, using the following for database credentials:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=commentsold_test
DB_USERNAME=sail
DB_PASSWORD=password
  • Run composer install
  • Run npm install
  • Run npm run dev
  • Run ./vendor/bin/sail up
  • Run sail artisan migrate
  • Run sail artisan db:seed (This loads the CSV data into the database.)

Once sail is finished booting, you can access the site at http://localhost/

commentsold-test's People

Contributors

markbiek avatar

Watchers

James Cloos avatar

commentsold-test's Issues

E: Order Display and Interaction

List all orders in the system for products on the logged in user account and allow for navigation within the set

  • Display the Order - customer name, email address, product name, color, size, order_status, order total, transaction id, shipper (if applicable), tracking number (if applicable)
  • Show a total of sales for all orders
  • Show the average sale total across all orders
  • (optional) Allow the user to filter orders based on product or SKU
  • (optional) Show a breakdown of the number of orders in different states based on order_status

C: User products

Provide a list of products tied to the user account name, style, brand, (optionally) available sku’s

A: Data import

As a starting point you should import the data into some format that allows you to interact with it from a web framework you may use any storage system you see fit (e. g. database, etc.).

B: Authentication

There are 50 user accounts and it should be possible to login with any one of them using the email and plain text password.

D: Inventory display

List all inventory records for the authenticated user and allow for navigation within the set.

  • Display the Product Name, sku, quantity, color, size, price and cost
  • Show the total count of inventory items in the system for the user
  • Allow the user to filter the list for a specific product id or sku
  • (optional) Allow the user to filter based on items with inventory below a threshold

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.