you shouldn't need to move databases between live and local to develop your project. if you have used migrations to build your table structure, then your schema should be in sync. The actual data is irrelevant as you should have a known set of data to use locally, and build out data via factories for your tests.
How to set up Laravel for backend API on Intellij IDEA on Windows
Hi,
I have a hard time figuring out how to set up Laravel for the following purpose: Full stack solution running on Google Cloud Run (I am familiar with Google Cloud with pure PHP) with four stages: prod, stage, dev and local dev (local machine). Database should be MySQL eihter running in a container on Cloud Run or as managed MySQL in Google Cloud. I want to build the frontend with VueJS (but flexible on that) and the backend should be a REST API serving the frontend and API users. Admin panel can be same frontend as for users or separated. One requirement: users of the app should be able to connect to a third party API using OAtuh2.
My issue is: what parts of the Laravel ecosystem do I need (Eloquent, Sanctum?) and how to set this up in IntelliJ IDEA Ultimate? Composer "laravel/larevel" or any other way? Is there a good tool to migrate database from production to dev and local dev from Laravel? Also, I could only find API tutorial for earlier laravel versions here in laracast.
Since I believe my requirements are quite common, I wonder if there isnt a skeleton or good guide. Any help, hints, tuts, videos highly appreciated?
Thanks!
Please or to participate in this conversation.