'λλ₯Ό' λμκ² μ€λ μν€λ€. λ§€μΌ λ§€μΌ λΉμ μ 9κ°μ§ μ‘°κ°μ μ°μ΄ μ¨μ ν λλ₯Ό κΈ°λ‘νκ³ λ€κ°λμμ λ껴보μΈμ.
- git commit message rule
[Setting] μΈν
[Add] μΆκ°
[Delete] μμ
[Update] μ
λ°μ΄νΈ
ex) "[Setting] gitignore μ€μ "
db.User = require('./user')(sequelize,Sequelize);
db.Post = require('./post')(sequelize,Sequelize);
db.Class = require('./class')(sequelize,Sequelize);
db.Question = require('./question')(sequelize,Sequelize);
/* 1 : N User : Post */
db.User.hasMany(db.Post, { onDelete: 'cascade' });
db.Post.belongsTo(db.User);
/* 1 : N Class : Question */
db.Class.hasMany(db.Question);
db.Question.belongsTo(db.Class);
/* 1 : N Question : Post */
db.Question.hasMany(db.Post);
db.Post.belongsTo(db.Question);
/* 1 : N Class : Post */
db.Class.hasMany(db.Post);
db.Post.belongsTo(db.Class);
-
μ΄μμ§ - Write : μ§λ¬Έ, κ²μκΈ μμ±
-
μ μ§ν - Splash : νμκ°μ , Detail : μ¬μ§λ¦¬μ€νΈ
- Node.js : λ°νμ νκ²½
- Express : NodeJs Framework
- NPM : NodeJS package manager
- PM2 : NodeJS process manager