Um projeto desenvolvido para aplicação do conhecimento na nova versão do angular.
Primeiro é preciso instalar o json-server para simulr um serviço http. Após baixar o projeto, e rodar o comando
npm i json-server
Após instalado, é necessário criar um arquivo com o nome db.json, e criar a estrutura simulando retorno do back, conforme exemplo abaixo:
{ "produtos": [ { "title": "armario", "id": 2 }, ] }
Agora é possível rodar a aplicação com o comando:
ng serve