Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
First steps in refactoring the backend code #213
This is the first of (hopefully) a few more PRs to refactor the backend code.
I am trying to work toward the following structure:
This isn't done yet (
This PR contains these major changes:
Because of circular import problems, this commit also moves the error messages from response.js to errors.js Signed-off-by: David Mehren <email@example.com>
…scriptive Move postNote to NoteController and rename to createFromPost Signed-off-by: David Mehren <firstname.lastname@example.org>
SISheogorath left a comment
In general this looks quite good. Seems to be mainly a renaming and moving of existing code.
Just a thought, we might want to use
All in all: