Skip to content

Aleksa1996/microservice-symfony-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Microservices using PHP Symfony

Microservice communication proof of concept using PHP 8.0 (Symfony) with a sprinkle of some DDD (Domain driven design). Main goal was to learn about communication between two contexts: identity access and blog.

  • PHP 8.0 (Symfony)
  • Persistence: MariaDB
  • Messaging: RabbitMQ

Identity Access context

Register user
php bin/console app:register-user "Aleksa Jovanovic" "[email protected]" "password"
Create role
php bin/console app:create-role "Administrator"
Assign role to user
php bin/console app:assign-role-to-user "uuid of user" "uuid of role"

Blog context

Create blog category
php bin/console app:create-category "Category name"
Write blog
php bin/console app:write-blog "title" "content" "uuid of category" "uuid of author"
Get all authors
php bin/console app:get-all-authors

About

Microservice architecture with PHP & Symfony

Resources

Stars

Watchers

Forks