Giter Site home page Giter Site logo

githubuser-1.1's Introduction

Node instructions check versions node -v and npm -v

React instructions: Installation

  1. npm install -g create-react-app
  2. create-react-app projectmanager //// npm config set registry="http://registry.npmjs.org" --->> to reset config
  3. npm start
  4. npm uuid
  5. npm install jquery --save
  6. npm install mssql
  7. npm install --save jsonfile
  8. go to directory folder cd Projects\React\
  9. go back cd\ or cd Projects
  10. node jsname.js in cmd.exe

create package.json file ---- manifest file of your app 1.npm init

  1. set main or entry point to app.js
  2. npm install --save mssql ---- save as dependency in package.json
  3. npm install -g nodemon ---- avoid restarting server manually globally

updating node.js

  1. npm cache clean -f
  2. npm install -g npm
  3. npm install npm@latest -g

material ui instructions

  1. npm install @material-ui/core
  2. npm install @material-ui/icons

git bash repo instructions:

  1. open git bash exe
  2. cd ( go to directory folder using git cmd) cd /c/ReactVS/React-Node-Sql
  3. git init
  4. git remote add origin (Get Link in github.com account in repository)
  5. git -v
  6. git remote -v
  7. git add .
  8. git commit -m "Name of the File"
  9. git push origin master

git bash update instructions

  1. open git bash exe

  2. cd ( go to directory folder using git cmd) cd c:\ReactVS\Node-React-1.0

  3. git status

  4. git add .

  5. git commit -m "Description of changes"

  6. git status (check updates)

  7. git push origin master

  8. git remote rm origin -- add version and renew link in github.

  9. git config --get remote.origin.url ----- check current github url

node server

  1. npm init -y ------ create package json file
  2. npm i express
  3. npm i -D nodemon
  4. npm install -g live-server
  5. npm install mssql

React application with Node Express server

  1. create a .env file
  2. create a package.json file
  3. In windows press "Ctrl + ~" to open terminal
  4. npm init
  5. copy initial codes in package.json and read always in comments
  6. npm install node-env-run nodemon npm-run-all express-pino-logger pino-colada --save-dev a.) npm install //// to install all packages written in package.json or click extension icon in the left pane and search for a specific package desired.
  7. npm run server //// to run webservice files from server.
  8. npm start //// to run react application.
  9. npm run dev //// to run both node server and react application.
  10. npm install -g json-server "start": "react-scripts start & json-server --watch sample.json --port 3004" //// put in package.json to run json files..
  11. npm install --save react-router-dom
  12. json-server --watch sample.json --port 3004
  13. npm i concurrently --save-dev
  14. concurrently --kill-others "npm run start" "npm run json:server" //// multiple server run together.

githubuser-1.1's People

Contributors

jinzutarez avatar

Watchers

James Cloos 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.