Skip to content

Commit c3d40e2

Browse files
author
Flyers
committed
Updated project architecture
In order to separate concerns and follow good practices, project will be split in two - back-end with all symfony2 API - front-end with angularjs client
1 parent cb68d7b commit c3d40e2

Some content is hidden

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

80 files changed

+67
-2777
lines changed

.gitignore

+23-26
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
11
# Cache and logs (Symfony2)
2-
/app/cache/*
3-
/app/logs/*
4-
!app/cache/.gitkeep
5-
!app/logs/.gitkeep
2+
/back-end/app/cache/*
3+
/back-end/app/logs/*
4+
!/back-end/app/cache/.gitkeep
5+
!/back-end/app/logs/.gitkeep
66

7-
/app/check.php
7+
/back-end/app/check.php
88

99
# Cache and logs (Symfony3)
10-
/var/cache/*
11-
/var/logs/*
12-
!var/cache/.gitkeep
13-
!var/logs/.gitkeep
10+
/back-end/var/cache/*
11+
!/back-end/var/cache/.gitkeep
12+
/back-end/var/logs/*
13+
!/back-end/var/logs/.gitkeep
1414

1515
# Parameters
16-
/app/config/parameters.yml
17-
/app/config/parameters.ini
16+
/back-end/app/config/parameters.yml
17+
/back-end/app/config/parameters.ini
1818

1919
# Managed by Composer
20-
/app/bootstrap.php.cache
21-
/app/SymfonyRequirements.php
22-
/var/bootstrap.php.cache
23-
/bin/*
20+
/back-end/app/bootstrap.php.cache
21+
/back-end/app/SymfonyRequirements.php
22+
/back-end/var/bootstrap.php.cache
23+
/back-end/bin/*
2424
!bin/console
2525
!bin/symfony_requirements
26-
/vendor/
26+
/back-end/vendor/
2727

2828
# Assets and user uploads
29-
/web/bundles/
30-
/web/uploads/
29+
/back-end/web/bundles/
30+
/back-end/web/uploads/
3131

3232
# Assets managed by Bower
33-
/web/assets/vendor/
33+
/back-end/web/assets/vendor/
3434

3535
# PHPUnit
36-
/app/phpunit.xml
37-
/phpunit.xml
38-
39-
# Build data
40-
/build/
36+
/back-end/app/phpunit.xml
37+
/back-end/phpunit.
4138

4239
# Composer PHAR
43-
/composer.phar
44-
/composer.lock
40+
*composer.phar
41+
*composer.lock

app/Resources/views/base.html.twig

-13
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

back-end/app/config/parameters.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is auto-generated during the composer install
2+
parameters:
3+
database_driver: pdo_mysql
4+
database_host: 127.0.0.1
5+
database_port: null
6+
database_name: symfony
7+
database_user: root
8+
database_password: root
9+
mailer_transport: smtp
10+
mailer_host: 127.0.0.1
11+
mailer_user: null
12+
mailer_password: null
13+
locale: en
14+
secret: ThisTokenIsNotSoSecretChangeIt
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

bin/doctrine

-1
This file was deleted.

bin/doctrine.php

-1
This file was deleted.

bin/karma/config/karma.conf.js

-39
This file was deleted.

bin/karma/config/protractor-conf.js

-19
This file was deleted.

bin/karma/scripts/e2e-test.bat

-12
This file was deleted.

bin/karma/scripts/e2e-test.sh

-18
This file was deleted.

bin/karma/scripts/test-all.sh

-32
This file was deleted.

bin/karma/scripts/test.bat

-11
This file was deleted.

bin/karma/scripts/test.sh

-9
This file was deleted.

bin/karma/scripts/update-angular.sh

-30
This file was deleted.

bin/karma/scripts/watchr.rb

-19
This file was deleted.

0 commit comments

Comments
 (0)