agamjotsingh18 / codesetgo

Open Source Website of CodeSetGo
https://codesetgo.netlify.app/
MIT License
76 stars 236 forks source link

EJS Rendering Integration and Template Creation #711

Open Shiivvani opened 11 months ago

Shiivvani commented 11 months ago

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