Commit b3aafb78 authored by Philipp Rummelsberger's avatar Philipp Rummelsberger

added strapi

parent cee4ad2c
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[{package.json,*.yml}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
.cache
build
**/node_modules/**
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"commonjs": true,
"es6": true,
"node": true,
"browser": false
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": false
},
"sourceType": "module"
},
"globals": {
"strapi": true
},
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"no-console": 0,
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}
############################
# OS X
############################
.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*
############################
# Linux
############################
*~
############################
# Windows
############################
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
############################
# Packages
############################
*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid
############################
# Logs and databases
############################
.tmp
*.log
*.sql
*.sqlite
*.sqlite3
############################
# Misc.
############################
*#
ssl
.idea
nbproject
public/uploads/*
!public/uploads/.gitkeep
############################
# Node.js
############################
lib-cov
lcov.info
pids
logs
results
node_modules
.node_history
############################
# Tests
############################
testApp
coverage
############################
# Strapi
############################
exports
.cache
build
# Strapi application
A quick description of your strapi application
{
"favicon": {
"path": "favicon.ico",
"maxAge": 86400000
},
"public": {
"path": "./public",
"maxAge": 60000
}
}
{
"myCustomConfiguration": "This configuration is accessible through strapi.config.myCustomConfiguration"
}
{
"myCustomConfiguration": "This configuration is accessible through strapi.config.environments.development.myCustomConfiguration"
}
{
"defaultConnection": "default",
"connections": {
"default": {
"connector": "mongoose",
"settings": {
"client": "mongo",
"host": "mongo",
"port": "27017",
"database": "strapi",
"username": "",
"password": ""
},
"options": {
"ssl": false
}
}
}
}
{
"session": {
"enabled": true,
"client": "cookie",
"key": "strapi.sid",
"prefix": "strapi:sess:",
"secretKeys": ["mySecretKey1", "mySecretKey2"],
"httpOnly": true,
"maxAge": 86400000,
"overwrite": true,
"signed": false,
"rolling": false
},
"logger": {
"level": "debug",
"exposeInContext": true,
"requests": true
},
"parser": {
"enabled": true,
"multipart": true
}
}
{
"gzip": {
"enabled": false
},
"responseTime": {
"enabled": false
},
"poweredBy": {
"enabled": true,
"value": "Strapi <strapi.io>"
}
}
{
"csp": {
"enabled": true,
"policy": ["block-all-mixed-content"]
},
"p3p": {
"enabled": false,
"value": ""
},
"hsts": {
"enabled": true,
"maxAge": 31536000,
"includeSubDomains": true
},
"xframe": {
"enabled": true,
"value": "SAMEORIGIN"
},
"xss": {
"enabled": true,
"mode": "block"
},
"cors": {
"enabled": true
},
"ip": {
"enabled": false,
"whiteList": [],
"blackList": []
}
}
{
"host": "localhost",
"port": 1337,
"proxy": {
"enabled": false
},
"cron": {
"enabled": false
},
"admin": {
"autoOpen": false
}
}
{
"myCustomConfiguration": "This configuration is accessible through strapi.config.environments.production.myCustomConfiguration"
}
{
"defaultConnection": "default",
"connections": {
"default": {
"connector": "mongoose",
"settings": {
"client": "mongo",
"host": "${process.env.DATABASE_HOST || '127.0.0.1'}",
"port": "${process.env.DATABASE_PORT || 27017}",
"database": "${process.env.DATABASE_NAME || 'strapi'}",
"username": "${process.env.DATABASE_USERNAME || ''}",
"password": "${process.env.DATABASE_PASSWORD || ''}"
},
"options": {}
}
}
}
{
"session": {
"enabled": true,
"client": "cookie",
"key": "strapi.sid",
"prefix": "strapi:sess:",
"secretKeys": ["mySecretKey1", "mySecretKey2"],
"httpOnly": true,
"maxAge": 86400000,
"overwrite": true,
"signed": false,
"rolling": false
},
"logger": {
"level": "info",
"exposeInContext": true,
"requests": false
},
"parser": {
"enabled": true,
"multipart": true
}
}
{
"gzip": {
"enabled": true
},
"responseTime": {
"enabled": false
},
"poweredBy": {
"enabled": true,
"value": "Strapi <strapi.io>"
}
}
{
"csp": {
"enabled": true,
"policy": ["block-all-mixed-content"]
},
"p3p": {
"enabled": true,
"value": ""
},
"hsts": {
"enabled": true,
"maxAge": 31536000,
"includeSubDomains": true
},
"xframe": {
"enabled": true,
"value": "SAMEORIGIN"
},
"xss": {
"enabled": true,
"mode": "block"
},
"cors": {
"enabled": true
},
"ip": {
"enabled": false,
"whiteList": [],
"blackList": []
}
}
{
"host": "localhost",
"port": "${process.env.PORT || 1337}",
"production": true,
"proxy": {
"enabled": false
},
"cron": {
"enabled": false
},
"admin": {
"autoOpen": false
}
}
{
"myCustomConfiguration": "This configuration is accessible through strapi.config.environments.staging.myCustomConfiguration"
}
{
"defaultConnection": "default",
"connections": {
"default": {
"connector": "mongoose",
"settings": {
"client": "mongo",
"host": "${process.env.DATABASE_HOST || '127.0.0.1'}",
"port": "${process.env.DATABASE_PORT || 27017}",
"database": "${process.env.DATABASE_NAME || 'strapi'}",
"username": "${process.env.DATABASE_USERNAME || ''}",
"password": "${process.env.DATABASE_PASSWORD || ''}"
},
"options": {}
}
}
}
{
"session": {
"enabled": true,
"client": "cookie",
"key": "strapi.sid",
"prefix": "strapi:sess:",
"secretKeys": ["mySecretKey1", "mySecretKey2"],
"httpOnly": true,
"maxAge": 86400000,
"overwrite": true,
"signed": false,
"rolling": false
},
"logger": {
"level": "info",
"exposeInContext": true,
"requests": false
},
"parser": {
"enabled": true,
"multipart": true
}
}
{
"gzip": {
"enabled": true
},
"responseTime": {
"enabled": false
},
"poweredBy": {
"enabled": true,
"value": "Strapi <strapi.io>"
}
}
{
"csp": {
"enabled": true,
"policy": ["block-all-mixed-content"]
},
"p3p": {
"enabled": true,
"value": ""
},
"hsts": {
"enabled": true,
"maxAge": 31536000,
"includeSubDomains": true
},
"xframe": {
"enabled": true,
"value": "SAMEORIGIN"
},
"xss": {
"enabled": true,
"mode": "block"
},
"cors": {
"enabled": true
},
"ip": {
"enabled": false,
"whiteList": [],
"blackList": []
}
}
{
"host": "localhost",
"port": "${process.env.PORT || 1337}",
"production": true,
"proxy": {
"enabled": false
},
"cron": {
"enabled": false
},
"admin": {
"autoOpen": false
}
}
'use strict';
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*
* See more details here: https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#bootstrap
*/
module.exports = () => { };
'use strict';
/**
* Cron config that gives you an opportunity
* to run scheduled jobs.
*
* The cron format consists of:
* [MINUTE] [HOUR] [DAY OF MONTH] [MONTH OF YEAR] [DAY OF WEEK] [YEAR (optional)]
*
* See more details here: https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#cron-tasks
*/
module.exports = {
/**
* Simple example.
* Every monday at 1am.
*/
// '0 1 * * 1': () => {
//
// }
};
'use strict';
module.exports = async (/* ctx */) => {
// return ctx.notFound('My custom message 404');
};
{
"timeout": 3000,
"load": {
"before": [],
"order": [
"Define the hooks' load order by putting their names in this array in the right order"
],
"after": []
}
}
{
"enabled": true,
"defaultLocale": "en_us",
"modes": [
"query",
"subdomain",
"cookie",
"header",
"url",
"tld"
],
"cookieName": "locale"
}
{
"welcome": "Willkommen"
}
{
"welcome": "Bienvenido"
}
{
"welcome": "Bienvenue"
}
{
"welcome": "Benvenuto"
}
{
"welcome": "ようこそ"
}
{
"welcome": "Добро пожаловать"
}
\ No newline at end of file
{
"welcome": "Hoşgeldin"
}
{
"timeout": 100,
"load": {
"before": [
"responseTime",
"logger",
"cors",
"responses",
"gzip"
],
"order": [
"Define the middlewares' load order by putting their name in this array is the right order"
],
"after": [
"parser",
"router"
]
}
}
{
"jwtSecret": "6b9d52f5-9850-4256-84ca-c26bc690e2f9"
}
\ No newline at end of file
{
"name": "app",
"private": true,
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi"
},
"devDependencies": {},
"dependencies": {
"strapi": "3.0.0-beta.18.4",
"strapi-admin": "3.0.0-beta.18.4",
"strapi-utils": "3.0.0-beta.18.4",
"strapi-plugin-content-type-builder": "3.0.0-beta.18.4",
"strapi-plugin-content-manager": "3.0.0-beta.18.4",
"strapi-plugin-users-permissions": "3.0.0-beta.18.4",
"strapi-plugin-email": "3.0.0-beta.18.4",
"strapi-plugin-upload": "3.0.0-beta.18.4",
"strapi-connector-mongoose": "3.0.0-beta.18.4"
},
"author": {
"name": "A Strapi developer"
},
"strapi": {
"uuid": "e8f80990-1443-4adf-9a2c-ad4b27fccf2f"