agarwalprashant / MERN-BOILERPLATE

MERN stack project boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN-BOILERPLATE

  1. yarn development: This command will get Nodemon, Webpack, and the server started for development.Load in browser: Open the root URL in the browser, which is http://localhost:3000 if you are using your local machine. You should see a page with the title MERN Kickstart that just shows Hello World!. Develop code and debug live: Further,Change the HelloWorld.js component text from "Hello World!" to just "hello". Save the changes to see the instantaneous update in the browser, and also check the command-line output to see that bundle.js is not re-created. Similarly, you can also see instant updates when you change the server-side code, increasing productivity during development.

  2. yarn build: This will generate the client and server code bundles for production mode (before running this script, make sure to remove the devBundle.compile code from server.js).

  3. yarn start: This command will run the bundled code in production.

About

MERN stack project boilerplate


Languages

Language:JavaScript 100.0%