engineering:computer_science:mern_stack:useful_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
engineering:computer_science:mern_stack:useful_commands [2024/08/16 13:56] – removed - external edit (Unknown date) 127.0.0.1engineering:computer_science:mern_stack:useful_commands [2024/08/16 13:56] (current) – ↷ Links adapted because of a move operation carlossousa
Line 1: Line 1:
 +====== MERN Stack - Useful Commands ======
 +
 +Part of [[engineering:computer_science:mern_stack:mern_stack|MERN Stack]]
 +
 +===== NodeJs =====
 +
 +^Command^Description^Notes|
 +|npm init|Initializes a new node.js project| |
 +|npm install <package> –save|Installs and adds the package to the dependency files in packagejson| |
 +
 +===== ReactJS =====
 +
 +^Command^Description^Notes|
 +|npx create-react-app <app-name>|Creates a new app| |
 +|npm start|Starts the react server| |
 +|npm run build|Bundles the app into static files for production| |
 +| | | |
 +