celebiimertt / flutter_json

Flutter with JSON data
0 stars 0 forks source link

db.json file on internet #1

Open gbtrabzon opened 3 years ago

gbtrabzon commented 3 years ago

Hello,

I uploaded db.json file to my hosting, which modifications should I make on the files ?

Thanks

celebiimertt commented 3 years ago

Merhaba, db.json dosyasını c dizininde api klasoru oluşturup onun içine atınız. (zipten çıkarılmış halini).Sonrasında cmd açıp c dizinde api dosyasına gidiniz. Komut olarak : json-server --watch db.json yazıp çalıştırabilirsiniz.

gbtrabzon commented 3 years ago

Merhaba ,

Öncelikle cevap için teşekkürler , ben mac kullanıyorum ve xampp veya başka birşey kullanmadığım için bir hosting içerisinde yapmak istiyorum . Bunun için ne yapmam lazım ?

Teşekkürler


Gönderen: celebiimertt notifications@github.com Gönderildi: Sunday, February 7, 2021 7:39:28 PM Kime: celebiimertt/flutter_json flutter_json@noreply.github.com Bilgi: Gurkan gbtrabzon@hotmail.com; Author author@noreply.github.com Konu: Re: [celebiimertt/flutter_json] db.json file on internet (#1)

Merhaba, db.json dosyasını c dizininde api klasoru oluşturup onun içine atınız. (zipten çıkarılmış halini).Sonrasında cmd açıp c dizinde api dosyasına gidiniz. Komut olarak : json-server --watch db.json yazıp çalıştırabilirsiniz.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/celebiimertt/flutter_json/issues/1#issuecomment-774705291, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAF2IZKVP7M3RKMNHQBFTXLS5264BANCNFSM4XHSWJEA.

celebiimertt commented 3 years ago

Node.js kurmanız gerekiyor sunucunuza. Sunucunuz destekliyorsa tabi.

gbtrabzon commented 3 years ago

Ona bakmam lazım ama sanmıyorum , düz bir json dosyasından alma şansı yok anladığım kadarı ile.


Gönderen: celebiimertt notifications@github.com Gönderildi: Sunday, February 7, 2021 7:46:23 PM Kime: celebiimertt/flutter_json flutter_json@noreply.github.com Bilgi: Gurkan gbtrabzon@hotmail.com; Author author@noreply.github.com Konu: Re: [celebiimertt/flutter_json] db.json file on internet (#1)

Node.js kurmanız gerekiyor sunucunuza. Sunucunuz destekliyorsa tabi.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/celebiimertt/flutter_json/issues/1#issuecomment-774706544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAF2IZPA7LNXZTM3AFXJ4OLS527V7ANCNFSM4XHSWJEA.

celebiimertt commented 3 years ago

$jsonfile = file_get_contents("db.json"); var_dump($jsonfile ); Php ile bu şekilde dosyayı da okuyabilirsiniz.

gbtrabzon commented 3 years ago

Onu nasıl yapabilirim ? Php destekli hostum


Gönderen: celebiimertt notifications@github.com Gönderildi: Sunday, February 7, 2021 7:57:26 PM Kime: celebiimertt/flutter_json flutter_json@noreply.github.com Bilgi: Gurkan gbtrabzon@hotmail.com; Author author@noreply.github.com Konu: Re: [celebiimertt/flutter_json] db.json file on internet (#1)

Php ile bu şekilde dosyayı da okuyabilirsiniz.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/celebiimertt/flutter_json/issues/1#issuecomment-774708450, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAF2IZP7UPOD4P53V4TIEUDS53A7NANCNFSM4XHSWJEA.

celebiimertt commented 3 years ago

https://www.w3schools.com/php/php_json.asp ve https://www.codewall.co.uk/how-to-read-json-file-using-php-examples/ inceleyebilirsiniz.

gbtrabzon commented 3 years ago

Teşekkür ederim


Gönderen: celebiimertt notifications@github.com Gönderildi: Sunday, February 7, 2021 8:10:06 PM Kime: celebiimertt/flutter_json flutter_json@noreply.github.com Bilgi: Gurkan gbtrabzon@hotmail.com; Author author@noreply.github.com Konu: Re: [celebiimertt/flutter_json] db.json file on internet (#1)

https://www.w3schools.com/php/php_json.asp ve https://www.codewall.co.uk/how-to-read-json-file-using-php-examples/ inceleyebilirsiniz.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/celebiimertt/flutter_json/issues/1#issuecomment-774710623, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAF2IZKY6B5XRH72Y7KMPV3S53CO5ANCNFSM4XHSWJEA.