This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
feat(core): use experimental route handlers instead of api routes #22
Labels
enhancement
New feature or request
I don't like that Catalyst still depends on Next's
pages
directory for its back-end. We should fully embrace the new app directory and use route handlers instead.The new folder structure when using Catalyst might become:
This might not be completely straight-forward as route handlers need a named export for each HTTP method, so the API might get a little dirtier. We also need to keep working around Auth.js requirements for auth endpoints.
The text was updated successfully, but these errors were encountered: