How to integrate that Application (by synchronizing "users" table of migration) to our existing Laravel App ??? #62
Replies: 7 comments
-
Not sure I understand what you are trying to accomplish, as it sounds like you are wanting to run two backends at the same time under the same database. My demo app is not meant to be used in combination with your existing app, it is just one example of it being installed into a full laravel app, with config and assets published. If you have an existing app, then please follow the install docs for this
In there it goes over the interface your user model implements and how to set the properties to overwrite name/avatar and other columns needed. Your user models ID can be UUID or int. If you need UUIDS, it can be configured during installation with the uuid flag, thus altering how the migrations are executed. Once the core is installed, you can then install the UI addon package:
As well as the other optional packages for
|
Beta Was this translation helpful? Give feedback.
-
Hi @RTippin and thanks a lot for your feedback. Does this Route is automacally generated after installed both core and UI addon package from my web application ??? If so, How to access it (that route) after installed them (core and pakages) from My Laravel existing Application ??? |
Beta Was this translation helpful? Give feedback.
-
Hi over here. Does anyone can help me or clear me ??? @RTippin ??? I'm confuse. Does this Route is automacally generated after installed both core and UI addon package from my web application ??? If so, How to access it (that route) after installed them (core and pakages) from My Laravel existing Application ??? I'm still waiting. |
Beta Was this translation helpful? Give feedback.
-
@chegmarco1989 Have you tried to install the UI package following the links I've sent? I'd reccomend trying this stuff on your own. The docs in my UI package explain the config and paths to access the published UI. Also, please be patient, it was my weekend, and I have a full time job, so my replies here will be limited. |
Beta Was this translation helpful? Give feedback.
-
Hi @RTippin and thanks for your feedback. Yes We already install UI Package that is why I asked you waht is the next step to access on UI installed ??? Does this generate automacally Route because we don't see anything about "Route" on: https://github.com/RTippin/messenger-ui/blob/master/README.md#installation ??? How to access Messenger after instally all about it (UI Package included) ??? Please answer us. |
Beta Was this translation helpful? Give feedback.
-
It is shown in the config section:
By default, it would be |
Beta Was this translation helpful? Give feedback.
-
Thanks again @RTippin for your response. If We want to put
is it correct ??? If not, please could you help us to do it ??? |
Beta Was this translation helpful? Give feedback.
-
Hello.
I have a serious headache.
We already have a Laravel Application which has a Migration (Table)
users
whose content is:When that of "Messenger-Demo" (https://github.com/RTippin/messenger-demo) is:
We want to synchronize both Applications so that Messenger-Demo uses the same
users
Table (same DataBase) with our first Application that is running.So, we want to know how to do that ???
In other word, how to change
$table->uuid('id')->primary();
by$table->increments('id');
And:$table->string('name');
by these two$table->string('surname');
and$table->string('first_name');
without getting any error in Views ???In which part of controllers, views or other code should we make modification if we change
users
migration to use the sameusers
Table of our existing Laravel Application ???Please, help us.
Beta Was this translation helpful? Give feedback.
All reactions