Skip to content

Commit 79dc9e6

Browse files
committed
functionalities completed
1 parent 07cd208 commit 79dc9e6

29 files changed

+2903
-175
lines changed

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["@babel/preset-env"],
3+
"plugins": [["@babel/transform-runtime"]]
4+
}

.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"extends": [
1616
"airbnb-base",
1717
"eslint:recommended",
18-
"plugin:node/recommended",
18+
// "plugin:node/recommended",
1919
"plugin:promise/recommended",
2020
"plugin:security/recommended"
2121
],
@@ -25,7 +25,7 @@
2525
"objects": "always-multiline",
2626
"imports": "always-multiline",
2727
"exports": "always-multiline",
28-
"functions": "ignore"
28+
"functions": "ignore",
2929
}],
3030
"max-len": 0
3131
},

.sequelizerc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path')
22
module.exports = {
3-
"config": path.resolve('./src/config', 'config.json'),
4-
"models-path": path.resolve('./src/models'),
5-
"seeders-path": path.resolve('./src/seeders'),
6-
"migrations-path": path.resolve('./src/migrations')
3+
"config": path.resolve('./src/db/config', 'config.json'),
4+
"models-path": path.resolve('./src/db/models'),
5+
"seeders-path": path.resolve('./src/db/seeders'),
6+
"migrations-path": path.resolve('./src/db/migrations')
77
};

migration

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sequelize model:create --name users --attributes id:string, name:string, email:string
2+
sequelize model:create --name courses --attributes id:UUID, name:string

0 commit comments

Comments
 (0)