Use Meteor accounts packages outside a Meteor app

50 Views Asked by At

I have an old Meteor application that is no longer developed/supported, it has a number of users. I have a new app to replace it.

In my new Express app, I have a login handler that can accept a username+password.

How can I make calls like Meteor.loginWithPassword(username, password, callback) when I am not actually in a meteor app. There are many references in the docs to the accounts-password package, but this is not an npm package in itself.

How can I install the required packages outside the meteor CLI? I'm just in a regular npm express app.

0

There are 0 best solutions below