lifedever / anodeblog Goto Github PK
View Code? Open in Web Editor NEWA blog build by nodejs+express
Home Page: http://gefangshuai.github.io
License: Apache License 2.0
A blog build by nodejs+express
Home Page: http://gefangshuai.github.io
License: Apache License 2.0
我将代码下载到本地之后,安装依赖
npm install
然后
npm start
就会报错.
刚开始入门node,请问要如何使项目正确运行呢?
如题
sdfdsfssdfsfds
Hola! @gitovers has created a ZenHub account for the gefangshuai organization. ZenHub is the leading team collaboration and project management solution built for GitHub.
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
ZenHub adds a series of enhancements directly inside the GitHub UI:
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @gitovers.
var _getUser = function () {
/* 用户定义 */
var userSchema = new Schema({
username: {type: String, required: true, unique: true},// 用户名
password: {type: String, required: true},
email: {type: String}, // 邮箱
website: {type: String}, // 个人网站
address: {type: String}, // 所在地点
github: {type: String}, // github
signature: {type: String}, // 个人签名
job: {type: String}, // 职业,
created_time: {type: Date, default: Date.now} // 创建时间
}, {
//单独写出来的时间戳.
timestamps: {
createdAt: 'created_at',
updatedAt: 'updated_at'
}
});
userSchema.methods.validPassword = function (password) {
return utils.md5(password, 'base64') == this.password;
};
var User = mongoose.model('User', userSchema);
return Promise.promisifyAll(User);
};
在dbHelper.js文件中.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.