Giter Club home page Giter Club logo

mernstack10's Introduction

we need to use "npm init" to initialize npm package manager for our repository

console.log("This is the first command in server.js"); console.log("as a dev dependency : npm i express -D"); console.log("as a production dependency : npm i express"); console.log("Node Monitoring Tool : npm i nodemon -D"); console.log("To Install All Modules present in package.json : npm i");

"version": "1.0.0", Major:Minor:Patch NPM - npm cli (command line interfaces)

To Clone in your own machine -

go to any directory where you want to clone and run below

git clone https://github.com/MishraAshish/MERNStack10.git

To run the node api MERNStack10 cd - node-server run - npm i then - npm start

MERNStack10 cd - reactapp run - npm i then - npm start

important : npm i -command is used to install all dependencies mentioned in package.json important : npm i -command is used to install module in the project

git clone for the first time

subsequent times we need to run - git pull

http://localhost:9000/getproducts - a get api

npm init - to initialize the project npm install or npm i - to install module dependency npm uninstall or npm u - to uninstall module dependency npm install -DEV or npm i -DEV -> to install module dependency

if you have changes in your machine - so either you resolve that or use git reset --hard and then take git pull

git clean -fd git pull

when we do clone in our own repo git init git add README.md git add . git commit -m "first commit" git remote add origin https://github.com/MishraAshish/MERNStack10.git git push origin master

mernstack10's People

Contributors

tnguyen3216 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.