Skip to content

Commit

Permalink
Fix: 예시 파일 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
rlagns1234 committed Feb 17, 2024
1 parent 85ce5e7 commit 1efc92b
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 414 deletions.
1 change: 0 additions & 1 deletion config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ module.exports = function () {
app.use('/api-docs', SwaggerUi.serve, SwaggerUi.setup(specs));

//router
require('../src/notice/notice.route')(app); //예시 라우트 notice.route.js를 통해 연결되는 route, controller, provider, service, dto, dao 는 예시이다. 추후 삭제 예정
require('../src/auth/auth.route.js')(app);
require('../src/like/like.route.js')(app);
require('../src/search/search.route.js')(app);
Expand Down
51 changes: 0 additions & 51 deletions models/image.js

This file was deleted.

9 changes: 0 additions & 9 deletions models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ const Tag = require('./tag.js');
const Category = require('./category.js');
const Help = require('./help.js');

//예시
const Notice = require('./notice.js');
const Image = require('./image.js');

const db = {};
const sequelize = new Sequelize(config.database, config.username, config.password, config);
Expand All @@ -25,8 +22,6 @@ db.Link = Link;
db.Tag = Tag;
db.Category = Category;
db.Help = Help;
db.Notice = Notice;
db.Image = Image;

User.init(sequelize);
Post.init(sequelize);
Expand All @@ -35,8 +30,6 @@ Link.init(sequelize);
Tag.init(sequelize);
Category.init(sequelize);
Help.init(sequelize);
Notice.init(sequelize);
Image.init(sequelize);

User.associate(db);
Post.associate(db);
Expand All @@ -45,8 +38,6 @@ Link.associate(db);
Tag.associate(db);
Category.associate(db);
Help.associate(db);
Notice.associate(db);
Image.associate(db);

// export default db;
module.exports = db
51 changes: 0 additions & 51 deletions models/notice.js

This file was deleted.

62 changes: 0 additions & 62 deletions src/notice/notice.controller.js

This file was deleted.

89 changes: 0 additions & 89 deletions src/notice/notice.dao.js

This file was deleted.

33 changes: 0 additions & 33 deletions src/notice/notice.dto.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/notice/notice.provider.js

This file was deleted.

20 changes: 0 additions & 20 deletions src/notice/notice.route.js

This file was deleted.

Loading

0 comments on commit 1efc92b

Please sign in to comment.