React

1 : la cycle de vie :

https://blog.hhking.cn/2018/09/18/react-lifecycle-change/

note sur mongo DB

Installation dans ubuntu :

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

installer studio 3T:

https://studio3t.com/knowledge-base/articles/installation/#install-studio-3t

d’autres outils:

https://www.guru99.com/top-20-mongodb-tools.html

*********************************************************************************

les commands utils

show dbs, show databases

use db-lyu

db : afficher la base actuelle

show collections

mongoose :

connection :fsdfs

mongoose.connect('mongodb://localhost/test', {useNewUrlParser: true});
const db = mongoose.connection;
db.once('open', function() {
  // we're connected!
});

note sur git

git init

git add

git commit -m “xxxx”

git log –oneline

git reflog

git reset –head xxxxxx

git reset –head HEAD^^^ (reculer 3 étapes)

git reset –head HEAD~3 (reculer 3 étapes)

git reset –soft xxxxx (seulement changer index de repose)

git reset –mix xxxxx (change index de repos et la cache)

git diff

git remote add xxxx https://github.com/yujunjie0603/vue3-game-plan.git

git clone

git fetch

git pull

pull = fetch + merge

git merge