An open API service indexing awesome lists of open source software.

https://github.com/tylrpopcorn/basic-ejs-app

A simple app that shows how to use EJS (Embedded JavaScript)
https://github.com/tylrpopcorn/basic-ejs-app

css ejs embedded-javascript html javascript

Last synced: 2 months ago
JSON representation

A simple app that shows how to use EJS (Embedded JavaScript)

Awesome Lists containing this project

README

          

# `Basic-EJS-App`

`A simple app that shows how to use EJS (Embedded JavaScript)`

This application showcases how to integrate EJS with Express to render dynamic content. By utilizing data from data.json, the app demonstrates passing variables to EJS templates, enabling the creation of web pages that adapt based on the provided data.

For those new to EJS and Express, this repository offers a practical example of:
- Setting up an Express server with EJS as the view engine.
- Organizing project directories for server files, templates, and static assets.
- Passing data to templates to render dynamic content.

Exploring this repository can provide valuable insights into building server-rendered applications using Node.js and EJS.

![image](https://github.com/user-attachments/assets/23ca6257-0d1f-4a0f-acfa-e96b6d64ccd0)

Credit goes to the original/external sources used.

Extra Resources:
- [EJS](https://ejs.co/)
- [Node.js](https://nodejs.org/en)

# Related Projects
- [Basic Express App](https://github.com/TylrPopcorn/Basic-Express-App) - _A simple application expressing how to use basic Express.js_
- [Hero-Page-2](https://github.com/TylrPopcorn/Hero-Page-2) - _Creating simple hero pages with BootStrap & HTML_
- [Stop Watch](https://github.com/TylrPopcorn/Stop-Watch) - _Use a virtual stop watch with Svelte.js_
- [Projects List](https://github.com/TylrPopcorn/Projects-List) - _Explore other projects I have worked on_