Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

g1stavo/mocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocks

This is a tool that mocks Chaordic widgets on a simple HTML page. It only display widgets previously configured on Central. The pages supported (yet!) are Home and Product.

To see the Home page, type the apikey on the navbar and OK it (select Freedom checkbox if the apikey is on the Netshoes Freedom theme).

To see the Product page, type a product ID after typing an apikey (the product ID must be one valid for the apikey, of course).

Install

git clone git@github.com:g1stavo/mocks ; cd mocks ; npm i

Run

npm start

Then open http://localhost:3000/. As it works like a normal page, remember to use ?homologation=true to display all widgets.