Skip to content

codegasms/ejs-fetch-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ejs-fetch-example

An alternative way to render data in ejs. The standard way is to pass variables in the context while calling res.render.

But, if you wish to build you backend API, which is concerned with responding with JSON only, then you might need this!

An example/practice repo

Tips

  • use await infront of include tags for ejs

Releases

No releases published

Packages

No packages published