Test deploy expressjs to cyclic platform
This program demonstrates the following Express/EJS features:
- Default server routing.
- Scripting (conditions and loops) in EJS templates
The server responds to incoming requests, based on pathnames, in following order:
/read
/cafe
*
The *
route redirects incoming requests having pathnames other than /read
and /cafe
to /read
- Condition is used in
views/details.ejs
- Loops are used in `views/list.ejs
npm install
npm start