So I am doing this project and I have to make a website in which i can create blog text posts, and then show those posts to access what i posted. I am using html css js node.js, ejs and express.js, I cant use a database so how should I do this?
Currently I have made a website and i can show the inputs after the post button is pressed, but when i refresh the page, data goes away and i have to do it over again.
Is there any logic I can use to make this happen?
`app.post("/submit", (req, res) => {
console.log(req.body);
const articles = req.body.post
res.render("index.ejs", {data: articles});
});`