---
title: "Amit Chambial (@amitchambial) | Hashnode"
description: "Full stack developer and a Maker. Read the latest articles by Amit Chambial on Hashnode."
url: "https://hashnode.com/@amitchambial"
---

@amitchambial

# Amit Chambial

@amitchambial · India · Joined October 2018

Full stack developer and a Maker

[Website](https://devaman.dev/)

## Comments

[As per my knowledge , you cannot prevent anyone from downloading it. If you are able to disable save option also there are other ways to download it ( wget ). Even platforms like themeforest are not able to do so. Best way is to add a copyright or license. If you find someone using your design you can atleast send some notice or claim some compensation. https://themeisle.com/blog/copyright-my-website/ Check this out on google.](https://hashnode.com/forums/thread/prevent-user-from-accessing-the-app-offline-by-doing-save-web-page-in-the-browser/comment/5f0826b699c1c93418feb290)

Comment · Thread · Jul 10, 2020 · [Prevent user from accessing the app offline (by doing Save web page in the browser)](https://hashnode.com/forums/thread/prevent-user-from-accessing-the-app-offline-by-doing-save-web-page-in-the-browser)

[Ali plutus You have to create a modal/Dialog box. Google how to create a modal in reactjs there is one library i created for reactjs https://www.npmjs.com/package/react-simplified-modal](https://hashnode.com/forums/thread/how-to-create-an-app-like-notionso/comment/5ef5870e6d43af6be6a4e0d6#reply-5f08244a5e27ec33f7d270dc)

Reply · Thread · Jul 10, 2020 · [How to create an app like notion.so?](https://hashnode.com/forums/thread/how-to-create-an-app-like-notionso)

[i have added the screenshot of github. I am currently using this for my project also. Working perfect on my $5 droplet 😀. Just give it a try first if u have any error or doubt u can ask me here .](https://hashnode.com/posts/autodeploy-your-projects-using-github-webhooks/5efb21bf66760e4255f10b9b/comment/5efb23503b77cf42348fc93b#reply-5efb26f7ffacfa4336fcc036)

Reply · Article · Jun 30, 2020 · [AutoDeploy your projects using Github WebHooks](https://hashnode.com/posts/autodeploy-your-projects-using-github-webhooks/5efb21bf66760e4255f10b9b)

[I loved the new design and features. Congratulations 👏 to hashnode team](https://hashnode.com/posts/introducing-the-new-hashnode-public-beta/5ef36b7db65bbe5076d9178a/comment/5ef3925449813a556281bce7)

Comment · Article · Jun 24, 2020 · [Introducing the new Hashnode ✨ - Public Beta](https://hashnode.com/posts/introducing-the-new-hashnode-public-beta/5ef36b7db65bbe5076d9178a)

[Hmm Giveaway #2, I work as software Engineer and I like to share my work , still I find something is missing when I write blogs or share something on Twitter. This ebook will help me to share my knowledge more effectively . God of luck embrace me with your powers!](https://hashnode.com/posts/newhashnode-pre-launch-giveaway-2/5eeb5c443e43fa1825148b13/comment/5eeb8c487c75e8f7249fc95a)

Comment · Article · Jun 18, 2020 · [#NewHashnode Pre-launch Giveaway 2⃣](https://hashnode.com/posts/newhashnode-pre-launch-giveaway-2/5eeb5c443e43fa1825148b13)

[Hey Hashnode team, Thanks for the giveaway.🥳 Here is my entry. https://blog.devaman.dev/](https://hashnode.com/posts/newhashnode-pre-launch-giveaway-1/5ee8cd1fa46d4397795714cf/comment/5ee8f6f589a6447679174f9e)

Comment · Article · Jun 16, 2020 · [#NewHashnode Pre-launch Giveaway 1⃣](https://hashnode.com/posts/newhashnode-pre-launch-giveaway-1/5ee8cd1fa46d4397795714cf)

[Dave Rodriguez Check my prev reply](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1/comment/5ee39582304fa1181a7d7086#reply-5ee3c21398c535462075cfab)

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)

[Dave Rodriguez this is passing title to ejs and return an HTML having title replaced with My app and with bundle.js imported in it. /\*is a regex which mean /a, /user/123 etc will all be catched by get./\*, means this index.ejs will be returned with bundle.js /user/amit => index.ejs => react bundle contains react-router code also. React-router will get the route value from address bar and render the components according to it. When we are using npm start it is setting up the NODE\_ENV as development. Now app.js see the env as development and runs a webpack dev server. Webpack-dev-server provides you live reload facility,meaning when you change react js code , your app ui will change without any need to restart the server. Here the build is stored in memory not in disk and exposed to publicPath ie /static/bundle.js. the webpack command is used to generate the build (bundle) in disk, which can be deployed. refer this read](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1/comment/5ee39582304fa1181a7d7086#reply-5ee3bb266c513725202e8bf2)

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)

[Dave Rodriguez Check it out 🙈](https://hashnode.com/forums/thread/ssr-vs-csr-vs-static-rendering/comment/5edf782a97041075727b2771#reply-5ee395ab304fa1181a7d7091)

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

[Here Webpack is used to build react jsx. webpack.config.js entryPoint: points to React index.js that resides in client/index.js outputDir : /static/bundle.js( after the build is complete the bundle.js go in this folder app.js app.use("/api/v1/users", userRouter) all the /api/v1/users request goes to userRouter app.use("/\*", indexRouter) all the / request goes to index.js router which in return route it to index.ejs in index.ejs react js bundle file is included , hence routing for /\* will be handled by react routers in index.ejs the react component will be rendered inside <div id="root"></div> similar to create-react-app we have public/index.html there , here we have index.ejs](https://hashnode.com/posts/i-need-to-know-the-flow-of-this-mern-app/5ee32aee304fa1181a7d6bb1/comment/5ee39582304fa1181a7d7086)

Comment · 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)
