Maurits van der Schee

Results 320 comments of Maurits van der Schee

I think this error is fixed now (in v2.1.7).

>when i go to http://192.168.50.44:8000/posts/ Can you try: http://192.168.50.44:8000/posts (without trailing slash)? >when you go to http://192.168.50.44:8000 The behavior is undefined for that case.

>It seems the login is done by hard coding! You should replace that with your own implementation >Is there any example for DB authentication? Not yet, but I fully understand...

> Any news about this example? Did you see this? https://github.com/mevdschee/vue-crud-ui It does not use "dbAuth" or "jwtAuth" or "basicAuth" middleware, but that is relatively easy to add. Is that...

@nilopaim Maybe you can add the front-end for the login on that repo (via a PR) and then I'll add the back-end config? I'm not that familiar with Vue.

If you want to implement the 'jwtAuth' flow, then you may want to read: https://github.com/mevdschee/php-api-auth

Thank you for your issue. I agree that the documentation can be more detailed on getting things running.

>is there a way of configuring ... without changing the source code? Well, that is why I added `ui.include.php` 17 days ago :-)

@albu77 You can create a file named 'ui.php' with config and use: include 'ui.include.php'; To load a "verified" and "easy to update" version of the software. In your config file...

>is there a way of configuring ... without changing the source code? Another method is the support of environment variables for the configuration of the 'api': - PHP_CRUD_API_DRIVER=mysql - PHP_CRUD_API_ADDRESS=localhost...