Support the ongoing development of Laravel.io →
Installation Configuration Architecture
Last updated 2 years ago.
0

It depends on your API but I would create a separate web and api instance and have them connect to the same database.

It's more of a feeling, having 2 systems operation in the same install sounds tricky, though you might have to do more work.

If your API is merely a presenter of your data then it would be ok to have it in one install, if your API is doing other stuff than your web install is then 2 separate systems would be my anwser.

Last updated 2 years ago.
0

Thanks zenry! I agree with you.. that feeling of having it less complicated by running two instances is definitely a draw.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

kschembri kschembri Joined 5 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.