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

Extract the core functionality into a separate package #54

Open
fynnlyte opened this issue Sep 2, 2022 · 0 comments
Open

Extract the core functionality into a separate package #54

fynnlyte opened this issue Sep 2, 2022 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@fynnlyte
Copy link
Collaborator

fynnlyte commented Sep 2, 2022

Split out the core API s.t. Express doesn't need to be installed. Put that into a separate package.

  1. Extract everything that happens in user.ts + its dependencies (dbAuth, mailer,...) into a separate couch-auth-core module. Most of the programmatic API could be used without express.
  2. Add this module as dependency to couch-auth, import it in index.ts and routes.ts to get the current functionality.
@fynnlyte fynnlyte created this issue from a note in Roadmap (To do) Sep 2, 2022
@fynnlyte fynnlyte changed the title Extract the core functionality into a separat package Extract the core functionality into a separate package Sep 5, 2022
@fynnlyte fynnlyte added the enhancement New feature or request label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Roadmap
  
To do
Development

No branches or pull requests

1 participant