json web server?

小弟呢排攪緊D自己Project,後面用緊MySQL做Database,想起一隻Web Server比用戶做Query,用戶用Post D Requests入黎,我呢邊就Response返d json比佢,可能會用user token做auth (Header放OAuth / Bearer個類,唔太清楚,未寫過相類系統),請問正路既方法係應該點起的?謝謝

Better use Linux OS, Thanks

你用開咩lang?

TOP

你用開咩lang?
shal 發表於 2023-3-10 18:24



    主力 python

TOP

主力 python
HKEPC852 發表於 2023-3-10 18:45



    Python FastAPI 可以交流下
我都系用開python

TOP

Python FastAPI 可以交流下
我都系用開python
shal 發表於 2023-3-10 19:01



    因為個Project有大量data,想open api出黎比大家access

TOP

因為個Project有大量data,想open api出黎比大家access
HKEPC852 發表於 2023-3-10 19:10



    Python都ok la

TOP

TOP

API Serving JSON
Example 1


Example 2
javacomhk 發表於 2023-3-10 19:49



    oh hell yeah, totally what I wanted, what back-end ching using?

TOP

graphQL / grpc

TOP

本帖最後由 javacomhk 於 2023-3-11 04:09 編輯
oh hell yeah, totally what I wanted, what back-end ching using?
HKEPC852 發表於 2023-3-10 14:05



    我以前都諗要起個 server 或 用 docker 做的咁嘅野,後來用咗呢個方法 server 都唔使起
參考
https://www.hkepc.com/forum/viewthread.php?fid=26&tid=2662592
https://www.hkepc.com/forum/viewthread.php?fid=24&tid=2663029
https://www.hkepc.com/forum/viewthread.php?fid=24&tid=2663754

TOP