Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EJS Rendering Integration and Template Creation #711

Open
4 tasks done
Shiivvani opened this issue Aug 9, 2023 · 0 comments
Open
4 tasks done

EJS Rendering Integration and Template Creation #711

Shiivvani opened this issue Aug 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Shiivvani
Copy link

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
@Shiivvani Shiivvani added the bug Something isn't working label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant