Welcome Guest, Not a member yet? Register   Sign In
Best way to create microservices projects with CodeIgniter 4
#3

Than you for your answer.

I need to create a project with a microservices architecture. I use CodeIgniter from CI2 and I want to use it for this project. There is a picture who show the architecture here : https://www.atlassian.com/microservices/...chitecture

When I search to create these architecture in PHP on Google, I founds lot of topics for Symfony. I don't know if there is a tuto or a github project who show us how to do this using CI4.

I see on CI documentation that we can create multiple applications with one CI installation : https://www.codeigniter.com/user_guide/g..._apps.html

I don't know if this is a good way, or there is a better way to do this?

For example, I want this architecture:
- API Gateway
--- Customer service
--- Product service
--- Order service
--- Invoice service

The user can connect using Customer service, next he can see all products using Product service and add to cart using Order service. When the order is completed, an Invoice is generated using Invoice service. Each services is an individual project who have an instance of CI.

I want to use JWT to communicate between each services.

I don't know if all is clear?
Reply


Messages In This Thread
RE: Best way to create microservices projects with CodeIgniter 4 - by jean5769 - 04-21-2024, 11:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB