Show Menu
Cheatography

Fullstack Cheat Sheet (DRAFT) by

Init git, node, angular (from coursera)

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Git Init

git config --global user.name "Your Name"
git config --global user.email <your email addres­s>
git init
initialise reposi­tory. Create
.git
git remote add origin https:­//g­ith­ub.c­om­/...`
git push -u origin master
 

Npm Init

npm init
initialise node project. Create
packag­e.json
npm install lite-s­erver --save-dev
"­scr­ipt­s": {
  "server": "npm run lite-server",  
  "lite-server": "lite-server"
}