ditkin / magicui

User-enforced generic card game UI
0 stars 0 forks source link

clone this game into poker #36

Open ditkin opened 4 years ago

ditkin commented 4 years ago

FE

BE


Cookies / CORS

The FE will make requests from poker.daviditkin.com The BE will set cookies on the domain: daviditkin.com so they apply to different subdomains

https://stackoverflow.com/questions/18492576/share-cookie-between-subdomain-and-domain

We should stop allowing CORS from the chrome extension, instead allow poker.daviditkin.com

ditkin commented 4 years ago

When a client registers BE tells FE it's ID. That allows the client to get a consistent experience upon reconnect if the connection was dropped.

ditkin commented 4 years ago

Should I clone this repo or just build everything into this app?

Clone pro:

Clone con: