code100x / chess

A multiplayer chess platform
https://chess.100xdevs.com/
1.62k stars 583 forks source link

Feat: Chess Mobile App with authentication #347

Open ofcljaved opened 5 months ago

ofcljaved commented 5 months ago

This PR do this https://youtu.be/-6WtZn5Zx0I

In order to have same backend for mobile and app, I added another callback which will capture the cookie and send it as query params for mobile and works exactly same for web

Full documentation is in README

ofcljaved commented 5 months ago

Have you tested this? does it work properly? can you provide any APK or testflight to test this?

Yess I have tested it, let me find a way to provide a APK to test this

siinghd commented 4 months ago

lets go with jwt... also send an apk please

ofcljaved commented 4 months ago

lets go with jwt... also send an apk please

Ohk I'll shift to jwt, and regarding apk, I am figuring out why it's not working in production but working perfectly fine in development mode

ofcljaved commented 3 months ago

@siinghd expo doesn't have jwt support as jwt requires node internal library crypto so I kept the base64 and made the apk here's the link to download it link to apk: https://expo.dev/accounts/chessrandom1233/projects/chess-mobile/builds/fefd8bbe-b65e-463d-82cf-f53f1bb4d9c2

For the time being I hosted web socket server and backend server to ec2 and postgres is running on neon db You can download the apk for android mobile and play the game by signing in For testing only did the google auth (github is working fine too just need to put env variables there)

devsargam commented 3 months ago

🎉 🎉 🎉

siinghd commented 3 months ago

@ofcljaved thank you will test it later

ofcljaved commented 2 months ago

@hkirat image

devsargam commented 2 months ago

Lol