feat: Strapi fresh install

This commit is contained in:
Aitor Urrutia
2022-01-14 19:08:34 +01:00
parent a7cdf90231
commit 04f8242dad
21 changed files with 10485 additions and 0 deletions

11
back/config/database.js Normal file
View File

@@ -0,0 +1,11 @@
const path = require('path');
module.exports = ({ env }) => ({
connection: {
client: 'sqlite',
connection: {
filename: path.join(__dirname, '..', env('DATABASE_FILENAME', '.tmp/data.db')),
},
useNullAsDefault: true,
},
});