These are chat archives for jdubray/sam

7th
Sep 2016
devin ivy
@devinivy
Sep 07 2016 02:58
say a user has a token that needs to be sent when a certain action makes a request to some service. that token is stored in the model with the rest of the information about the logged-in user. how should the action obtain and use that token?
Jean-Jacques Dubray
@jdubray
Sep 07 2016 07:02
I would not necessarily call that "application state", it's safe to put it as part of the global state. That token is different in nature from say the query parameters of the API call.
devin ivy
@devinivy
Sep 07 2016 17:54
:)
Jeff Barczewski
@jeffbski
Sep 07 2016 18:32
@devinivy I love hapi! IMO a much better http framework to build on than express.
devin ivy
@devinivy
Sep 07 2016 18:38
:beers: !
Jean-Jacques Dubray
@jdubray
Sep 07 2016 21:49
Another framework that seems very interesting: toubkal
Rapid development of fully reactive applications and micro-services for Node.js and the Browser