Skip to content

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.

2 participants