---
title: "Dave Rodriguez (@dave447) | Hashnode"
description: "Learner. Read the latest articles by Dave Rodriguez on Hashnode."
url: "https://hashnode.com/@dave447"
---

@dave447

# Dave Rodriguez

@dave447 · Joined June 2020

Learner

## Comments

[Thank you so VERY much. I really appreciate your time and knowledge. Cheers.Amit Chambial](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1/comment/5ee39582304fa1181a7d7086#reply-5ee3c60798c535462075d00e)

Reply · Article · Jun 12, 2020 · [I need to know the flow of this MERN app.](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1)

[Amit Chambial Thanks a lot for answering my questions. Can you add in your answer? I have added a couple of questions more in my previous reply.](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1/comment/5ee39582304fa1181a7d7086#reply-5ee3bea298c535462075cfa5)

Reply · Article · Jun 12, 2020 · [I need to know the flow of this MERN app.](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1)

[router.get("/\*", function (req, res, next) { res.render("index", { title: "My App" }) }) What is this code block doing? Is it rendering the index.ejs file? One more thing, how is /\* will be handled by react routers? Also could you clarify my doubts on node environment? In package.json, I have this: "scripts": { "start": "NODE\_ENV=development nodemon ./bin/www", "webpack": "webpack-dev-server --config ./webpack.config.js --mode development" }, In app.js: if (process.env.NODE\_ENV === "development") { const webpack = require("webpack") const webpackConfig = require("./webpack.config") const compiler = webpack(webpackConfig) app.use( require("webpack-dev-middleware")(compiler, { noInfo: true, publicPath: webpackConfig.output.publicPath, }) ) app.use(require("webpack-hot-middleware")(compiler)) } I'm confused on how webpack is working here. I know it generates a bundle but how it's working with env is just that I could not understand. Sorry for asking too many questions.](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1/comment/5ee39582304fa1181a7d7086#reply-5ee3b76b98c535462075cf2e)

Reply · Article · Jun 12, 2020 · [I need to know the flow of this MERN app.](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1)

[Amit Chambial okay thanks. One more question, do you have idea about the mern stack. I posted a question today https://hashnode.com/post/i-need-to-know-the-flow-of-this-mern-app-ckbbvixgs028l5ks1b2e3x2zj. If you could help me out, that would be great.](https://hashnode.com/forums/thread/ssr-vs-csr-vs-static-rendering/comment/5edf782a97041075727b2771#reply-5ee37251c595b7ea716e3a02)

Reply · Thread · Jun 12, 2020 · [SSR vs CSR vs Static Rendering](https://hashnode.com/forums/thread/ssr-vs-csr-vs-static-rendering)

[THanks for the post. It's good. I have one question. If I need to check if the app is SSR or CSR, how do I do it?](https://hashnode.com/forums/thread/ssr-vs-csr-vs-static-rendering/comment/5edf782a97041075727b2771#reply-5ee326ddc595b7ea716e36d6)

Reply · Thread · Jun 12, 2020 · [SSR vs CSR vs Static Rendering](https://hashnode.com/forums/thread/ssr-vs-csr-vs-static-rendering)
