benblub / activity-recorder
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:project
Requires
- php: >=7.4.0
- ext-ctype: *
- ext-iconv: *
- api-platform/core: ^2.5
- composer/package-versions-deprecated: 1.11.99.1
- doctrine/annotations: ^1.0
- doctrine/doctrine-bundle: ^2.2
- doctrine/doctrine-migrations-bundle: ^3.0
- doctrine/orm: ^2.7
- nelmio/cors-bundle: ^2.1
- phpdocumentor/reflection-docblock: ^5.2
- symfony/asset: 5.2.*
- symfony/console: 5.2.*
- symfony/dotenv: 5.2.*
- symfony/expression-language: 5.2.*
- symfony/flex: ^1.3.1
- symfony/framework-bundle: 5.2.*
- symfony/mailer: 5.2.*
- symfony/monolog-bundle: ^3.6
- symfony/property-access: 5.2.*
- symfony/property-info: 5.2.*
- symfony/security-bundle: 5.2.*
- symfony/serializer: 5.2.*
- symfony/twig-bundle: 5.2.*
- symfony/validator: 5.2.*
- symfony/yaml: 5.2.*
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^3.4
- php-coveralls/php-coveralls: ^2.4
- phpunit/php-code-coverage: ^9.2
- symfony/browser-kit: 5.2.*
- symfony/http-client: 5.2.*
- symfony/maker-bundle: ^1.23
- symfony/phpunit-bridge: ^5.2
- symfony/stopwatch: ^5.2
- symfony/var-dumper: 5.2.*
- symfony/web-profiler-bundle: ^5.2
Conflicts
This package is not auto-updated.
Last update: 2024-11-28 14:49:50 UTC
README
Dont use this Repository on production. Its for learning purposes with ❤️ created.
Record your work or whatever activity with this Api Project.
Requirements
https://symfony.com/doc/current/setup.html#technical-requirements
Install
install with composer composer create-project benblub/activity-recorder
or
Clone or Download & unzip this Project.
and
run Composer with your Shell and install Project Depencies.
composer install
Setup Database credentials in your ENV
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
Tests
Setup Database credentials in .env.test.
create test Database & Structure
php bin/console doctrine:database:create --env=test
php bin/console doctrine:migrations:migrate --env=test
run tests
php bin/phpunit
Start Transactions & Rollback between each Test. Not installed yet.. https://github.com/dmaicher/doctrine-test-bundle
The Functional & Integration tests require a mailserver aswell. Setup your Credentials in ENV.
Use
Webserver configuration https://symfony.com/doc/current/setup/web_server_configuration.html
This Project creates your API. Now you can use any kind of App to interact with your API. Build your own or use a Generator from https://api-platform.com/docs/ Simply test your API visit http://localhost:8000/api