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

Splitting client from server more obviously #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

oliverturner
Copy link

@oliverturner oliverturner commented Jul 1, 2018

There's really only one major change here: moving index.js into a /server directory so as to make it clearer what's doing what.

Other tweaks are...

  • Add nodemon with a sample implementation that can be walked through in class: "this flag means 'watch these files for changes', this one means 'ignore these generated files because they don't require the server to be restarted'".
  • Tweak README to make the advice more consistent (e.g. routes prefixed /api/ return JSON)

@oliverturner
Copy link
Author

screenshot_2018-06-30 codepen - delivereat file layout 1
Illustration of the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant