# nodedemo **Repository Path**: flydengs/imoocWebsite ## Basic Information - **Project Name**: nodedemo - **Description**: 使用nodejs,mongodb来存储电影的。 - **Primary Language**: NodeJS - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-10-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #imoocWebsite npm install jade express mongoose moment npm install -g bower bower install bootstrap 完成之后,使用npm init和bower init记录出来依赖的包 .bowerrc 控制bower下载文件的路径。 ----------二期--------------- npm install -g grunt-cli /--save-dev 表示写入package.json依赖 npm install grunt --save-dev //实时监听文件增删改查 npm install grunt-nodemon --save-dev //监控慢任务sass less npm install grunt-concurrent --save-dev npm install grunt-contrib-watch --save-dev 用户的密码可以通过:字典,暴力,查表破解 通过 hash加盐(用户密码加随机数据) 方式加密 常用加密 md5(之前有md1 2 3 4) sha(三个数学家搞的) 更新nodejs npm install -g npm-windows-upgrade in powerShell:Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force npm-windows-upgrade -------------三期 通过把sessionid存入mongodb/redis/内存/cookie来确保会话 express通过cookie-parser来工作。