Nodejs

[NODEJS]DATABASE INSERT,SELECT,DELETE(SQLITE)

Posted on:

SQLITE는 로그인없이 사용 할 수 있는 가벼운 데이터베이스입니다.데이터베이스 서버부분이 없기 때문에 db파일에 바로 접근해서 사용할 수 있습니다.서버접속 없이 웹앱을 만들거나 모바일 앱을 만들 때 많이 사용합니다.오픈 소스이며 자세한 […]

Nodejs

[NODEJS]비동기함수처리Asynchronous function processing,PROMISE

Posted on:

일반적으로 동기라는 의미는 동시에 동작한다는 뜻이 있습니다.반대로 비동기라는 의미는 동시에 동작하지 않는다는 뜻이 있습니다.자바스크립트에서 동기라는 의미는 순차적인 실행을 의미합니다.반대로 자바스크립트에서 비동기는 순차적인 실행이 아님을 의미합니다. In general, synchronous […]

Nodejs

NODEJS 익스프레스 라우팅 express routing

Posted on:

먼저 다음과 같이 public디렉토리 ,profile.html,./public/index.html파일을 만듭니다.profile.html파일과 index.html파일의 내용은 아래에 있습니다.컬러 강조된 부분은 새로 추가된 코드 입니다.First, create the public directory, profile.html, and ./public/index.html files as follows.The contents of […]

Nodejs

NPM moment module

Posted on:

nodejs를 설치 하고 npm명령어를 통하여 패키지를 설치 하면 사용 할 수 있습니다.기본 적인 패키지 설치 명령어는 아래와 같습니다.You can use it by installing nodejs and installing the package […]