computer_science:mern_stack:useful_commands

This is an old revision of the document!


MERN Stack - Useful Commands

Part of MERN Stack

CommandDescriptionNotes
npm initInitializes a new node.js project
npm install <package> –saveInstalls and adds the package to the dependency files in packagejson
CommandDescriptionNotes
npx create-react-app <app-name>Creates a new app
npm startStarts the react server
npm run buildBundles the app into static files for production
  • computer_science/mern_stack/useful_commands.1653476488.txt.gz
  • Last modified: 2023/12/01 12:07
  • (external edit)