====== MERN Stack - Useful Commands ====== Part of [[:computer_science:mern_stack:mern_stack|MERN Stack]] ===== NodeJs ===== ^Command^Description^Notes| |npm init|Initializes a new node.js project| | |npm install –save|Installs and adds the package to the dependency files in packagejson| | ===== ReactJS ===== ^Command^Description^Notes| |npx create-react-app |Creates a new app| | |npm start|Starts the react server| | |npm run build|Bundles the app into static files for production| | | | | |