Giter Site home page Giter Site logo

dna-task-livecoding-vue's Introduction

How should I start

  1. Clone the repository
  2. npm install
  3. Run json-server to have mocked api (npm run api)
  4. Check if application is starting (npm run dev).
    1. Make sure you use Node 18

Scenario

Let's imagine that you are working on the frontend for the festival system discussed during teamtask part of the interview. You have a mock api that has the following endpoints:

  • /merchants returning all merchants
  • /transactions returning all transactions

Currently implemented is a really simple dashboard that shows statistics for transactions and registered merchants.

Task 1

Please make a code review of the currently implemented solution.

Task 2

Add new page that allows filtering by period and merchant to show:

  • amount of transactions in selected period
  • amount of revenue in selected period
  • list of transactions for a selected merchant

On the list there could be an option to click on the transaction to display transaction details. Going back to merchant view all preselected options should be preserved.

Available Scripts

In the project directory, you can run:

npm run dev

To start the app in dev mode.
Open http://localhost:5173 to view it in the browser. Open http://localhost:3000 to view available api endpoints.

npm run test:unit

Run the test cases.

dna-task-livecoding-vue's People

Contributors

mmarczak-dna 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.