Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 924 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 924 Bytes

Frontend test

We have a simple API that returns a JSON array. We would like you to use HTML, CSS and Javascript to read the API and display it in an organized way. In addition, you should add in some sort of sorting and filtering mechanic to the front-end. Feel free to use any frameworks you would like to achieve the task.

API

  • / returns all data;
  • /random/ returns a random subset of the data. Use this if you need a smaller dataset;

  • Para rodar a aplicação vinculando com o db.json, foi instalado um pacote, segue abaixo.

Install JSON Server


npm install -g json-server

  • Para dar start na aplicação segue a baixo o comando:

Start JSON Server

json-server --watch db.json