npm i express mongoose body-parser cookie-parser morgan nodemon dotenv cors

Installing MongoDB on MAC
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/

Installing MongoDB on Windows
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/

Installing Robo3T
https://robomongo.org/

MongDB Restart
sudo brew services restart mongodb-community

npm i express-validator jsonwebtoken express-jwt formidable lodash slugify string-strip-html

 

 

killall node

kill node -p 8000

pkill -8000 node

npm start

 

 

 

import Link from 'next/link';

 

 

<a href='/Signin'>Sign In</a>

 

==> 

 

<Link href='/Signin'>

    <a>Sign In</a>

</Link>

 

 

npm install --save isomorphic-fetch es6-promise

 

npm install js-cookie

 

npm install nprogress

 

 

https://nextjs.org/docs

Importing CSS / Sass / Less / Stylus files

 

npm install @zeit/next-css

 

 

blog back end

 

1. blog model/blog scheme

2. blog route

3. add blog route to server.js

4. blog controller

5. postman test

 

 

Text Editor

npm install react-quill 

 

npm i moment react-render-html

 

DISQUS commenting System

www.disqus.com

 

npm i prop-types

 

https://github.com/kriasoft/react-starter-kit/blob/master/docs/recipes/how-to-integrate-disqus.md

 

Email system

sendgrid.com

 

in backend

npm i @sendgrid/mail

 

decode token

in frontend :

npm i jsonwebtoken // to decode token.

 

 

 




'Web > React' 카테고리의 다른 글

[React] React for ECommerce Site with Redux 1  (0) 2020.01.30
[Web/React] React info ...  (0) 2020.01.29
[React] npm packages and Database info in blog site  (0) 2019.12.19
[React] React 정리  (0) 2018.02.19
Posted by woojja

댓글을 달아 주세요


많이 늦었지만 

좋은 글이 있어 올려봅니다.



개발자가 필히 알아야 할 ES6 10가지 기능



행복한 고수되셔요.


woojja ))*

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\




'Web > JavaScript' 카테고리의 다른 글

[JavaScript] 개발자가 필히 알아야 할 ES6 10가지 기능  (0) 2019.01.15
[JavaScript] WebPack  (0) 2017.10.09
[JavaScript] SystemJS  (0) 2017.10.08
[JavaScript] Interval, Timeout  (0) 2017.02.11
[JavaScript] Markup Insertion  (0) 2017.02.10
[JavaScript] Pop Up 차단 확인  (0) 2017.01.26
Posted by woojja

댓글을 달아 주세요

2019. 1. 13. 17:07


Machine Learning, Deep Learning 을 배우는 과정에서 Anaconda 가 필요합니다.


https://www.anaconda.com/download/


에서 Anaconda 를 Download 받아 설치합니다.




다음은 Jupyter note 의 간단한 사용 방법입니다.



Cell 실행 : Shift + Enter

Edit mode : Enter

Command  mode : ESC


Command mode 에서  a 혹은 b : Cell 추가


a=4

print(a) 


함수 위에서 Shift + Tab : 함수 설명  

. (Comma) 다음에 Tab : 자동완성




행복한 고수되셔요.~~ 


^^*

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\




Posted by woojja

댓글을 달아 주세요


ASP.NET Core Web 관련 Application 을 IIS 에 배포하려면 Hosting Bundle 이 필요합니다. 


https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-2.1.6-windows-hosting-bundle-installer



그래야 오류없이 올라옵니다.



행복한 고수되셔요...


woojja ))*

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\







Posted by woojja

댓글을 달아 주세요


MongoDB 를 사용하다 몇가지 사용 Tip 을 남깁니다.



아래 내용은 https://docs.mongodb.com/manual/reference/method/ 에서 참고했습니다.



MongoDB ConnectionString


mongodb://[UserID]:[PW]@[IP]:[port]

mongodb://jumptovbuser01:woojjano1!@10.100.28.102:27107



MongoDB Shell Access


mongo --host 0.0.0.0 --port 27107 -u "jumptovbuser01" -p "woojjano1!" --authenticationDatabase "admin"



MongoDB Account.


Add Account

use admin

db.createUser({user : "jumptovbuser01" ,  pwd : "woojjano1!", roles : [{ role : "userAdminAnyDatabase" , db : "admin" }, { role : "readWrite" , db : "ccms" }]})

db.createUser({user : "jumptovbuser02", pwd : "woojjano2@", roles : [{ role : "readWrite" ,  db : "woojjaDB" }]})


Add Role

db.grantRolesToUser("jumptovbuser01", [{ role : "userAdminAnyDatabase" , db : "admin" }])

db.grantRolesToUser("jumptovbuser02" , [{ role : "readWirte" , db : "woojjaDB" }] )


Change Password

db.changeUserPassword("jumptovbuser01" , "woojjano3#")


Delete Account

db.dropUser("jumptovbuser02")




Add MongDB Database.


use woojjaDB

switched to db woojjaDB

db.dropDatabase()



MongoDB Database Method


db.createCollection()

db.cloneDatabase()

db.createView()

db.dropDatabase()

db.cloneCollection()



MongoDB CRUD


db.myCollection.find()

db.myCollection.insertOne({item: "card", qty: 15 })

db.myCollection.insertMany()

db.myCollection.updateOne()

db.myCollection.updateMany()

db.myCollection.replaceOne()

db.myCollection.save()

db.myCollection.deleteOne()

db.myCollection.deleteMany()

db.myCollection.drop()

db.myCollection.createIndex()



MongoDB commands


help

db.help()

show users

show dbs

show collections

show roles

show profile


...












행복한 고수되셔요.


woojja ))*

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\




'DATABASE > MongDB' 카테고리의 다른 글

[MongoDB] MongoDB Tips  (0) 2018.11.28
Posted by woojja
TAG MongoDB, Tips

댓글을 달아 주세요

이전버튼 1 2 3 4 5 6 7 ··· 90 이전버튼