Skip to content

Commit da67857

Browse files
committed
Initial commit
0 parents  commit da67857

File tree

1,650 files changed

+26856
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,650 files changed

+26856
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["env", "react"]
3+
}

.gitignore

Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
2+
# Created by https://www.gitignore.io/api/node,symfony,composer,phpstorm,sublimetext
3+
4+
### Composer ###
5+
composer.phar
6+
/vendor/
7+
8+
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
9+
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
10+
# composer.lock
11+
12+
### Node ###
13+
# Logs
14+
logs
15+
*.log
16+
npm-debug.log*
17+
yarn-debug.log*
18+
yarn-error.log*
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
php_coverage
32+
jest_coverage
33+
34+
# nyc test coverage
35+
.nyc_output
36+
37+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
38+
.grunt
39+
40+
# Bower dependency directory (https://bower.io/)
41+
bower_components
42+
43+
# node-waf configuration
44+
.lock-wscript
45+
46+
# Compiled binary addons (http://nodejs.org/api/addons.html)
47+
build/Release
48+
49+
# Dependency directories
50+
node_modules/
51+
jspm_packages/
52+
53+
# Typescript v1 declaration files
54+
typings/
55+
56+
# Optional npm cache directory
57+
.npm
58+
59+
# Optional eslint cache
60+
.eslintcache
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
74+
75+
### PhpStorm ###
76+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
77+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
78+
79+
# User-specific stuff:
80+
.idea/**/workspace.xml
81+
.idea/**/tasks.xml
82+
.idea/dictionaries
83+
84+
# Sensitive or high-churn files:
85+
.idea/**/dataSources/
86+
.idea/**/dataSources.ids
87+
.idea/**/dataSources.xml
88+
.idea/**/dataSources.local.xml
89+
.idea/**/sqlDataSources.xml
90+
.idea/**/dynamic.xml
91+
.idea/**/uiDesigner.xml
92+
93+
# Gradle:
94+
.idea/**/gradle.xml
95+
.idea/**/libraries
96+
97+
# CMake
98+
cmake-build-debug/
99+
100+
# Mongo Explorer plugin:
101+
.idea/**/mongoSettings.xml
102+
103+
## File-based project format:
104+
*.iws
105+
106+
## Plugin-specific files:
107+
108+
# IntelliJ
109+
/out/
110+
111+
# mpeltonen/sbt-idea plugin
112+
.idea_modules/
113+
114+
# JIRA plugin
115+
atlassian-ide-plugin.xml
116+
117+
# Cursive Clojure plugin
118+
.idea/replstate.xml
119+
120+
# Ruby plugin and RubyMine
121+
/.rakeTasks
122+
123+
# Crashlytics plugin (for Android Studio and IntelliJ)
124+
com_crashlytics_export_strings.xml
125+
crashlytics.properties
126+
crashlytics-build.properties
127+
fabric.properties
128+
129+
### PhpStorm Patch ###
130+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
131+
132+
# *.iml
133+
# modules.xml
134+
# .idea/misc.xml
135+
# *.ipr
136+
137+
# Sonarlint plugin
138+
.idea/sonarlint
139+
140+
### SublimeText ###
141+
# cache files for sublime text
142+
*.tmlanguage.cache
143+
*.tmPreferences.cache
144+
*.stTheme.cache
145+
146+
# workspace files are user-specific
147+
*.sublime-workspace
148+
149+
# project files should be checked into the repository, unless a significant
150+
# proportion of contributors will probably not be using SublimeText
151+
# *.sublime-project
152+
153+
# sftp configuration file
154+
sftp-config.json
155+
156+
# Package control specific files
157+
Package Control.last-run
158+
Package Control.ca-list
159+
Package Control.ca-bundle
160+
Package Control.system-ca-bundle
161+
Package Control.cache/
162+
Package Control.ca-certs/
163+
Package Control.merged-ca-bundle
164+
Package Control.user-ca-bundle
165+
oscrypto-ca-bundle.crt
166+
bh_unicode_properties.cache
167+
168+
# Sublime-github package stores a github token in this file
169+
# https://packagecontrol.io/packages/sublime-github
170+
GitHub.sublime-settings
171+
172+
### Symfony ###
173+
# Cache and logs (Symfony2)
174+
/app/cache/*
175+
/app/logs/*
176+
!app/cache/.gitkeep
177+
!app/logs/.gitkeep
178+
179+
# Email spool folder
180+
/app/spool/*
181+
/var/spool/*
182+
183+
# Cache, session files and logs (Symfony3)
184+
/var/cache/*
185+
/var/logs/*
186+
/var/sessions/*
187+
!var/cache/.gitkeep
188+
!var/logs/.gitkeep
189+
!var/sessions/.gitkeep
190+
191+
# Parameters
192+
/app/config/parameters.yml
193+
/app/config/parameters.ini
194+
195+
# Managed by Composer
196+
/app/bootstrap.php.cache
197+
/var/bootstrap.php.cache
198+
/bin/*
199+
!bin/console
200+
!bin/symfony_requirements
201+
202+
# Assets and user uploads
203+
/web/bundles/
204+
/web/uploads/
205+
206+
# PHPUnit
207+
/app/phpunit.xml
208+
/phpunit.xml
209+
210+
# Build data
211+
/build/
212+
/web/build
213+
214+
# Backup entities generated with doctrine:generate:entities command
215+
**/Entity/*~
216+
217+
### Symfony Patch ###
218+
/web/css/
219+
/web/js/
220+
221+
# End of https://www.gitignore.io/api/node,symfony,composer,phpstorm,sublimetext
222+
var/jwt
223+
var/etc
224+
var/cron/utm_timestamp.txt
225+
var/cron/ips_timestamp.txt
226+
cosmos-export/bundle.js
227+
cosmos-export/favicon.ico
228+
cosmos-export/index.html
229+
cosmos-export/manifest.json
230+
cosmos-export/cosmos-export/loader/manifest.json
231+
cosmos-export/loader/index.html
232+
cosmos-export/loader/main.js
233+
cosmos-export/loader/manifest.json

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
spareparts
2+
==========
3+
4+
A Symfony project created on December 9, 2017, 5:51 pm.

app/.htaccess

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<IfModule mod_authz_core.c>
2+
Require all denied
3+
</IfModule>
4+
<IfModule !mod_authz_core.c>
5+
Order deny,allow
6+
Deny from all
7+
</IfModule>

app/AppCache.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
4+
5+
class AppCache extends HttpCache
6+
{
7+
}

app/AppKernel.php

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?php
2+
3+
use Symfony\Component\HttpKernel\Kernel;
4+
use Symfony\Component\Config\Loader\LoaderInterface;
5+
6+
class AppKernel extends Kernel
7+
{
8+
public function registerBundles()
9+
{
10+
$bundles = [
11+
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
12+
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
13+
new Symfony\Bundle\TwigBundle\TwigBundle(),
14+
new Symfony\Bundle\MonologBundle\MonologBundle(),
15+
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
16+
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
17+
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
18+
new AppBundle\AppBundle(),
19+
new Youshido\GraphQLBundle\GraphQLBundle(),
20+
new Neo4j\Neo4jBundle\Neo4jBundle(),
21+
];
22+
23+
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
24+
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
25+
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
26+
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
27+
28+
if ('dev' === $this->getEnvironment()) {
29+
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
30+
$bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
31+
}
32+
}
33+
34+
return $bundles;
35+
}
36+
37+
public function getRootDir()
38+
{
39+
return __DIR__;
40+
}
41+
42+
public function getCacheDir()
43+
{
44+
return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
45+
}
46+
47+
public function getLogDir()
48+
{
49+
return dirname(__DIR__).'/var/logs';
50+
}
51+
52+
public function registerContainerConfiguration(LoaderInterface $loader)
53+
{
54+
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
55+
}
56+
}

app/Resources/views/base.html.twig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>{% block title %}Welcome!{% endblock %}</title>
6+
{% block stylesheets %}{% endblock %}
7+
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
8+
</head>
9+
<body>
10+
{% block body %}{% endblock %}
11+
{% block javascripts %}{% endblock %}
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)