shiniwolf / angular2-symfony3
Angular 2 / Symfony 3 Quickstart
Installs: 335
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 5
Forks: 12
Open Issues: 1
Type:project
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/orm: ^2.5
- friendsofsymfony/rest-bundle: ^2.1
- incenteev/composer-parameter-handler: ^2.0
- jms/serializer-bundle: ^1.1
- nelmio/api-doc-bundle: ^2.13
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0.2
- symfony/monolog-bundle: ^2.8
- symfony/polyfill-apcu: ^1.0
- symfony/swiftmailer-bundle: ^2.3
- symfony/symfony: 3.1.*
Requires (Dev)
- sensio/generator-bundle: ^3.0
- symfony/phpunit-bridge: ^3.0
This package is not auto-updated.
Last update: 2021-10-10 23:30:36 UTC
README
Symfony 3
Bundles
- FOSRestBundle : https://github.com/FriendsOfSymfony/FOSRestBundle
- JMSSerializerBundle : https://github.com/schmittjoh/JMSSerializerBundle
- NelmioApiDocBundle : https://github.com/nelmio/NelmioApiDocBundle
Commands
- Create project with composer :
composer create-project shiniwolf/angular2-symfony3 directory_name
- Complete parameters.yml
- Create your virtual host : http://angular2-symfony3.dev/
Angular 2
Commands
- Run
npm i
in root directory - Run
npm run start
to launch project in development mode and go to http://angular2-symfony3.dev/app_dev.php - Run
npm run build
to launch project in production mode and go to http://angular2-symfony3.dev/ - Run
npm run test
to launch karma unit tests
Structure directory
- Angular app files are located in
/web/src
- Public files are located in
/web/public
- Config files (webpack/karma) are located in
/web/config