chompoo500ml / basicblog

A basic blog with features as you might expect
https://chompoo500ml.github.io/basicblog/
MIT License
3 stars 2 forks source link

Need software architecture #5

Open chompoo500ml opened 6 years ago

annkaniga commented 6 years ago

by your current design, you gonna have problems with web session-related stuffs.

because your web site is static page which deployed on github (or any static site hosting). the session will be between user browser and github hosting; this means your api server will not carry any sessions on itself by default.

one of the issues is if you are trying to do authentication/authorization, you gonna need to manage browser's local storage to keep session-id which you need to pass it to api server manually for each calls. seems to be unsecured this way. this architecture is not normal implementation. let me know too if you find a good solution on this.

chompoo500ml commented 6 years ago

this sounds complicated for me, i might change architecture ;p