Skip to content

Commit

Permalink
new env created
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoer committed Aug 31, 2022
1 parent f1e9c66 commit eb84d30
Show file tree
Hide file tree
Showing 17 changed files with 3,215 additions and 130 deletions.
4 changes: 2 additions & 2 deletions src/config/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports.initModules = ['environment', 'database', 'listen'];
module.exports.middlewareModules = ['express', 'routes'];
module.exports.middlewareModules = ['express', 'routes', 'cors'];

module.exports.apiRoutes = ['book', 'author'];
module.exports.apiRoutes = ['vendor', 'country'];

module.exports.env = process.env;
9 changes: 0 additions & 9 deletions src/controller/author.js

This file was deleted.

54 changes: 0 additions & 54 deletions src/controller/book.js

This file was deleted.

Loading

0 comments on commit eb84d30

Please sign in to comment.