xervice / xervice
2019.04
2019-04-12 07:38 UTC
Requires
- php: >=7.1.0
- propel/propel: 2.0.0-alpha8
- xervice/api: ^2.0.0
- xervice/atomic: 2.0.0
- xervice/data-provider: ^2.2.1
- xervice/database: ^2.0.0
- xervice/event-rabbitmq: ^2.0.0
- xervice/exception-handler: ^2.0.0
- xervice/log-rabbitmq: ^2.0.0
- xervice/redis: ^2.0.0
- xervice/security: ^3.0.0
- xervice/session: ^2.0.0
Requires (Dev)
- codeception/codeception: *
- filp/whoops: ^2.2.0
- phpunit/phpunit: 7.1.*
- symfony/var-dumper: *
- xervice/development: *
This package is auto-updated.
Last update: 2024-04-09 14:41:18 UTC
README
Description
That's a default xervice application.
- Session are stores in redis
- Events goes to RabbitMQ
- Logs goes to RabbitMQ
- PostgreSql is configured
- Default indexController in Application
- Preconfigured kernel
- Public-Directory with simple index.php
- Exception-Handling
- Without debug it will save exceptions in the log-queue in RabbitMQ
- With debug exceptions will be displayed in your browser
- Development module for generating autocomplete
- Preconfigured console command
- Webpack frontend with bootstrap
- Search automatically for scss and js files in your theme folder
- Atomic design
- You can add atoms, molecules, organisms and templates to your module theme folder and reuse them in your pages.
- Directory structure:
- Presentation
- Theme
- atomic
- atoms
- molecules
- organisms
- templates
- pages
- atomic
- Theme
- Presentation
- Example in Application/Presentation/Theme
- Directory structure:
- You can add atoms, molecules, organisms and templates to your module theme folder and reuse them in your pages.
Installation
composer create-project xervice/xervice myXerviceApplication [version]
Configuration
Define new routes src/App/Application/Plugins/Routing/Routing.php
Define new twig paths src/App/Application/Plugins/Twig/PathLoader.php
Configuration You can change your configuration in the config-files. For default it will take your config_production.php for system specifig configs. You should save your password into the config_local.php file (example config_local.dist.php).
Using
- Install Redis
- Install RabbitMq
- Install PostgreSql
- Install nginx
- Change configs
- Test local with php
- php -S localhost:8000 -t public/
- Run Application in your browser
Install
composer install
npm install
Generate frontend
npm run build