Do you suggest Bagisto as laravel open-source e-commerce platform?

|
DesolatorMagno 2020-03-19 22:54:08
I had a boss that always said, don’t give me problems give me solutions.
rijisoft 2020-03-19 22:56:22
DesolatorMagno 2020-03-19 22:54:08
I had a boss that always said, don’t give me problems give me solutions.

i don’t know it’s matter to this conversation but he had right 🙂

DesolatorMagno 2020-03-19 22:58:43
Yes it is, if what you did don’t work search why, what to change or try another thing.
rijisoft 2020-03-19 23:04:25
DesolatorMagno 2020-03-19 22:58:43
Yes it is, if what you did don’t work search why, what to change or try another thing.

As a record , Before i ask question i search many times in different ways , In this case i couldn’t find anything

DesolatorMagno 2020-03-19 23:08:22
Something you gotta just experiment, something that work partially might not be the right answer.

Try using take instead of limit.

DesolatorMagno 2020-03-19 23:08:58
Post::with([‘comments’ => function($query){
$query->latest()->limit(5);
}])
Or something like this.
DesolatorMagno 2020-03-19 23:10:56
and again, try also using take
stefan_ssv 2020-03-19 23:13:58
DesolatorMagno 2020-03-19 23:08:58
Post::with([‘comments’ => function($query){
$query->latest()->limit(5);
}])
Or something like this.

$query->orederByDesc(‘created_at’)->limit(5)

DesolatorMagno 2020-03-19 23:15:48
If that don’t work, try using lazy loading.
DesolatorMagno 2020-03-19 23:25:10
And if nothing work, you can try
https://github.com/staudenmeir/eloquent-eager-limit

GitHub – staudenmeir/eloquent-eager-limit: Laravel Eloquent eager loading with limitGitHub
Laravel Eloquent eager loading with limit. Contribute to staudenmeir/eloquent-eager-limit development by creating an account on GitHub.
AlaaDq 2020-03-19 23:25:30
hey
when i use the password grant type
i need to send request has payload like this :

grant_type: ‘password’,
client_id: 2,
client_secret: ‘secret’,
username: user.email,
password: user.password,

AlaaDq 2020-03-19 23:26:00
to the oauth/token
AlaaDq 2020-03-19 23:26:06
route
AlaaDq 2020-03-19 23:27:17
to make login from vue with laravel
AlaaDq 2020-03-19 23:28:11
and it work but i wounder if this way is save to write the client secret as plain text in js file
AlaaDq 2020-03-19 23:28:20
laravel_discuss-30218.jpg

AlaaDq 2020-03-19 23:28:49
all the vue files inside the laravel project
AlaaDq 2020-03-19 23:31:22
🤷‍♂️🤷‍♂️
tefo_h 2020-03-19 23:31:37
AlaaDq 2020-03-19 23:28:20

A better place is .env file

AlaaDq 2020-03-19 23:32:26
ohh how i did not think about that
thank you
AlaaDq 2020-03-19 23:36:22
tefo_h 2020-03-19 23:31:37
A better place is .env file

i have one more question

AlaaDq 2020-03-19 23:37:46
what
the oauth-private.key and
oauth-public.key
in storage folder
are used for
AlaaDq 2020-03-19 23:41:45
they are
something like this
—–BEGIN RSA PRIVATE KEY—–
advadkfvlkadmcadv…..
—–END RSA PRIVATE KEY—–

i think RSA is a encryption algorithm
called Rivest, Shamir, and Adelman

But i never used them before

tefo_h 2020-03-19 23:49:03
When the authorization server return tokens these are actually encrypted on the server usig a 1024-bit RSA keys. both the private and the public key will live in your storage
AlaaDq 2020-03-19 23:59:18
so i should delete them
no one must have that private key🤣🤣🤣
AlaaDq 2020-03-19 23:59:51
thank you , i got it
AlaaDq 2020-03-20 00:00:55
laravel (some factory) depend on them for making the token
juanchoss 2020-03-20 04:37:24
Buenas noches chicos
juanchoss 2020-03-20 04:37:27
Una pregunta
juanchoss 2020-03-20 04:38:19
Es posible manejar la autenticación con jwt y el facade Auth al mismo tiempo?
AlaaDq 2020-03-20 04:39:10
juanchoss 2020-03-20 04:37:24
Buenas noches chicos

English Group

juanchoss 2020-03-20 04:39:48
Ooh sorry
AlaaDq 2020-03-20 04:40:20
laravelindonesia
AlaaDq 2020-03-20 04:40:40
try that one
juanchoss 2020-03-20 04:42:01
I have a question… Can I use jwt and the facade Auth at the same time?
Mehdi_N8 2020-03-20 04:43:27
juanchoss 2020-03-20 04:42:01
I have a question… Can I use jwt and the facade Auth at the same time?

jwt-auth package

juanchoss 2020-03-20 04:45:59
Mmm ok but… I mean… There is a webapp using auth native from laravel… But the client want a api from these app… So for a api I need to management the auth process via jwt
AlaaDq 2020-03-20 06:01:54
you can use jwt or passport
for api auth

or even Airlock if your laravel version is 7

2020-03-20 06:08:20
Chi_Thian 2020-02-20 19:43:52

quote issue use double quote

Chi_Thian 2020-03-20 06:11:45
2020-03-20 06:08:20
quote issue use double quote

Yes thanks I fixed already

will171 2020-03-20 06:12:34
Do you suggest Bagisto as laravel open-source e-commerce platform? Does Anyone has used it ?
Patricklab 2020-03-20 06:37:36
Mahbub_Habib 2020-03-18 10:27:30
Hey,Does anyone work on codecanyon? I know laravel 6.I want to work with team for learning purpose.If anyone interested, feel free to knock me.I’ll send you my cv.

Inbox

2020-03-20 07:18:48
I need someone to work with coinpayments api ( Laravel application) anyone available?
hamidshariati_ir 2020-03-20 08:51:56
laravel_discuss-30250.jpg

MuntherHalwyat 2020-03-20 11:12:43
rijisoft 2020-03-19 21:11:24
do you create database shopping?!

yeah, I did

MuntherHalwyat 2020-03-20 11:13:45
stefan_ssv 2020-03-19 21:59:10
Error tells you that there is no table in your database
Make sure you are connecting to right database
Or restore this table from your db backup archive

yeah , I did that

stefan_ssv 2020-03-20 11:57:49
MuntherHalwyat 2020-03-20 11:13:45
yeah , I did that

You did what?…

MuntherHalwyat 2020-03-20 12:07:36
stefan_ssv 2020-03-20 11:57:49
You did what?…

I created database shopping in mysql

2020-03-20 12:07:46
MuntherHalwyat 2020-03-20 12:07:36
I created database shopping in mysql

Fixed?

MuntherHalwyat 2020-03-20 12:08:13
no 😢
|