reading-notes

View on GitHub

EJS

it is a way to get data from back end and display them directly in front end .

To add EJS to your project :

To get variable value from server in the ejs file

Using ejs you cane get list of item from server and append them into ordered list in front end : <ul><% for(var person of pepole){ %><% person.name %><% } %></ul>