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

Refactor API router #1294

Merged
merged 2 commits into from
Jun 1, 2020
Merged

Refactor API router #1294

merged 2 commits into from
Jun 1, 2020

Conversation

kpuputti
Copy link
Contributor

@kpuputti kpuputti commented May 18, 2020

This PR refactors the server API router. Each endpoint is now a separate file, and the router file just connects the paths to the route handlers.

This opens up possibilities for deployment and for endpoints that can be run along the development server.

TODO

@kpuputti kpuputti force-pushed the refactor-api-router branch from bbcd9f1 to 6c72976 Compare May 18, 2020 14:51
@kpuputti kpuputti marked this pull request as ready for review May 19, 2020 07:45
Copy link
Contributor

@OtterleyW OtterleyW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I'm not sure if the doc about enabling the login as feature should be updated

@kpuputti
Copy link
Contributor Author

@OtterleyW Ah, great point about the docs. I'll check that before merging this PR.

@kpuputti kpuputti merged commit a769f48 into master Jun 1, 2020
@kpuputti kpuputti deleted the refactor-api-router branch June 1, 2020 13:16
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