You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are using httpster for the webserver. We need to create an express server and move the state to the server where it can be shared. We should create a RESTFUL API with routes to handle actions for adding and loading colors.
ADD_COLOR
move the uniqe id generation to the server
wait for a response from a POST route before dispatching the action on the client
Loading Colors
We need a route for loading colors, instead of initially populating them from state. Initially colors are loaded from web storage, but we can sync them when the load route responds.
The text was updated successfully, but these errors were encountered:
Express Server
Currently we are using httpster for the webserver. We need to create an express server and move the state to the server where it can be shared. We should create a RESTFUL API with routes to handle actions for adding and loading colors.
ADD_COLOR
Loading Colors
We need a route for loading colors, instead of initially populating them from state. Initially colors are loaded from web storage, but we can sync them when the load route responds.
The text was updated successfully, but these errors were encountered: