Do you know a very good tutorial on setting up a complete API with laravel?

|
mohsen 2021-01-21 03:01:31
laravel_discuss-67280.jpg

nazmulpcc 2021-01-21 03:02:48
Routes defined in api.php file has a prefix of “/api” by default. So in your case, to reach the api route, you should make a request to http://localhost:8000/api/
mohsen 2021-01-21 03:19:43
nazmulpcc 2021-01-21 03:02:48
Routes defined in api.php file has a prefix of “/api” by default. So in your case, to reach the api route, you should make a request to http://localhost:8000/api/

ok thanks i,m test now

mohsen 2021-01-21 03:22:51
nazmulpcc 2021-01-21 03:02:48
Routes defined in api.php file has a prefix of “/api” by default. So in your case, to reach the api route, you should make a request to http://localhost:8000/api/

but i,m have question yet
can same route in api.php and web.php and get different response ??

mohsen 2021-01-21 03:23:19
i,m try it . and not worked
Ahmed A 2021-01-21 03:55:42
I want fuck
Ahmed A 2021-01-21 03:57:07
Can you speak Arabic
sujeesh_2021 2021-01-21 06:03:35
laravel_discuss-67294.jpg
Hi Friends, I am trying to integrate google my business api on my website.. I got approval from google. But now I am facing this issue.. Can anyone give me a solution
nazmulpcc 2021-01-21 06:25:16
mohsen 2021-01-21 03:22:51
but i,m have question yet
can same route in api.php and web.php and get different response ??

Even if you have the same route path in both files, the resulting url will always be different.
For example, if you add “/products” in web and api, the route in web.php file will result in http://example.com/products and the route in api.php will result in https://example.com/api/products
As you can see, the two are different

2021-01-21 08:22:39
2021-01-21 01:00:59
i thought just connect it to your hosting that already registered with ssl or something

Thanks. Let me do this

mrgafury 2021-01-21 08:24:21
I defined a mutato in the model. How do I skip it?
DesolatorMagno 2021-01-21 09:12:06
Don’t use mutator, use a presenter or something else.
DesolatorMagno 2021-01-21 09:14:35
Mutator is for when you are sure you are not gonna use the raw value.
keatngan 2021-01-21 09:14:38
Hello, Do you know cmd to run all route list?
hypernxf 2021-01-21 09:15:00
you can just run
hypernxf 2021-01-21 09:15:11
php artisan and see all the commands available
hypernxf 2021-01-21 09:15:35
search for “routes”
keatngan 2021-01-21 09:15:54
Hello, Do you know cmd to run all route list on modules?
keatngan 2021-01-21 09:18:22
laravel_discuss-67307.jpg
route list all this Modules
DesolatorMagno 2021-01-21 09:20:28
You must be using some hexagonal/module package for Laravel.
DesolatorMagno 2021-01-21 09:23:26
Should try asking in the package git or something.

In any case if you follow convention you could use route list and use grep.

DesolatorMagno 2021-01-21 09:24:09
(convention for route name, where every route should start with the module name)
keatngan 2021-01-21 09:24:46
Like this php artisan route:list | grep ‘Modules\Blog’ ??
hypernxf 2021-01-21 09:50:35
that’s smart. I’ve never thought of using grep with artisan before haha
hypernxf 2021-01-21 09:50:52
I just use the search function in terminal. So dumb of me
2021-01-21 09:55:39
Hi everyone I need an expirenced laravel php developer whose worked with reactjs and nodejs mainly from India would be a very good option we currently have about 15 projects websites and web apps to be updated and we need someone to work with on a long term
LefmyHans 2021-01-21 10:53:31
Hi ! Do you know a very good tutorial on setting up a complete API with laravel ? Able to communicate with an Android – java application
RahiMSuleymaN 2021-01-21 11:16:54
laravel_discuss-67320.jpg

RahiMSuleymaN 2021-01-21 11:17:27
why not working
RahiMSuleymaN 2021-01-21 11:17:57
for new submition
RahiMSuleymaN 2021-01-21 11:18:19
only take default value
stealthSnake 2021-01-21 11:56:31
RahiMSuleymaN 2021-01-21 11:18:19
only take default value

what is the default value?

stealthSnake 2021-01-21 12:03:26
RahiMSuleymaN 2021-01-21 11:16:54

try
{{ old(‘public’, $board->public) == ‘public’ ? ‘checked’ : ”}}

RahiMSuleymaN 2021-01-21 12:18:50
stealthSnake 2021-01-21 11:56:31
what is the default value?

Take database on or null

stealthSnake 2021-01-21 12:32:44
RahiMSuleymaN 2021-01-21 12:18:50
Take database on or null

how many checkbox do you have in that form where its name is public?

|