Browse Source

live

master
root 3 years ago
parent
commit
2b3f0c9260
7 changed files with 35548 additions and 1621 deletions
  1. +1
    -0
      .gitignore
  2. +0
    -15
      config/database.js
  3. +28
    -0
      config/plugins.js
  4. +1
    -1
      config/server.js
  5. +33877
    -0
      package-lock.json
  6. +3
    -3
      package.json
  7. +1638
    -1602
      yarn.lock

+ 1
- 0
.gitignore View File

@@ -112,3 +112,4 @@ exports
*.cache
build
.strapi-updater.json
config/database.js

+ 0
- 15
config/database.js View File

@@ -1,15 +0,0 @@
module.exports = ({ env }) => ({
defaultConnection: 'default',
connections: {
default: {
connector: 'bookshelf',
settings: {
client: 'sqlite',
filename: env('DATABASE_FILENAME', '.tmp/data.db'),
},
options: {
useNullAsDefault: true,
},
},
},
});

+ 28
- 0
config/plugins.js View File

@@ -0,0 +1,28 @@
module.exports = ({ env }) => ({
// email: {
// provider: "nodemailer",
// providerOptions: {
// host: env("SMTP_HOST"),
// port: env("SMTP_PORT"),
// secure: false,
// auth: {
// user: env("SMTP_USER"),
// pass: env("SMTP_PASSWORD"),
// },
// },
// settings: {
// defaultFrom: "noreply@thamrin.co.id",
// defaultReplyTo: "noreply@thamrin.co.id",
// },
// },
graphql: {
endpoint: "/graphql",
shadowCRUD: true,
playgroundAlways: true,
depthLimit: 7,
amountLimit: 1000,
apolloServer: {
tracing: false,
},
},
});

+ 1
- 1
config/server.js View File

@@ -3,7 +3,7 @@ module.exports = ({ env }) => ({
port: env.int('PORT', 1337),
admin: {
auth: {
secret: env('ADMIN_JWT_SECRET', 'ea704c52f457e83bff1b8a05b9c3a835'),
secret: env('ADMIN_JWT_SECRET'),
},
},
});

+ 33877
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 3
- 3
package.json View File

@@ -9,9 +9,9 @@
"build": "strapi build",
"strapi": "strapi"
},
"devDependencies": {},
"dependencies": {
"knex": "0.21.18",
"mysql": "^2.18.1",
"sqlite3": "5.0.0",
"strapi": "3.6.8",
"strapi-admin": "3.6.8",
@@ -32,8 +32,8 @@
"uuid": "64646ad5-7507-4cd8-93e5-3dbc4aedf338"
},
"engines": {
"node": ">=10.16.0 <=14.x.x",
"npm": "^6.0.0"
"node": ">=10.16.0 <=16.x.x",
"npm": "^7.9.0"
},
"license": "MIT"
}

+ 1638
- 1602
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save