Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express Server #3

Open
MoonTahoe opened this issue Mar 18, 2016 · 0 comments
Open

Express Server #3

MoonTahoe opened this issue Mar 18, 2016 · 0 comments

Comments

@MoonTahoe
Copy link
Owner

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

  • 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.

@MoonTahoe MoonTahoe added this to the Chapter 9 : Redux milestone Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant