This repo is a simple illustration of a website consuming an API and rendering content utilizing ES6 template literals. To illustrate this we build a flower shop ๐
You will need Node and NPM installed to get going. Apart from that this repo is self contained and able to run locally.
npm i
npm start
Technically uses:
- tachyons as a CSS framework.
- json-server to create a simple API.
- live-server to serve the website.
Data from: https://gist.github.com/sandeepcmsm/2e1f5762fa5ca351d8f129e73c730071
ES6 template literals are enhanced using a function dewscribed in: http://2ality.com/2015/01/template-strings-html.html