Skip to content

EJS Rendering Integration and Template Creation #711

@Shiivvani

Description

@Shiivvani

What happened?

The issue pertains to the lack of EJS rendering integration in the code. To address this, EJS should be properly installed, and an EJS template should be created to replace the basic res.sendFile method. The template should be organized in the views directory, and the res. render method should be used to render the template. This enhancement enables dynamic content injection and efficient separation of logic from presentation.

How can we reproduce this bug?

Start with a basic Express.js application without EJS integration.

Desktop Information (Optional)

No response

Urgency (Optional)

None

Record

  • I agree to follow this project's Code of Conduct
  • I have checked the existing issues
  • I'm a GSSoC'23 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions