Meteor-rest equivalent for meteor v3

In meteor v2 Ive previously used meteor-rest to create a json api for my meteor app. meteor-rest is no longer supported, and in meteor v3 I understand that I can use Express and its ecosystem. Does anyone have any good pointers (beyond the migration guide) for doing this and:

  1. creating endpoints to login (returning bearer token) and logout
  2. creating middleware to use that bearer token in my custom rest routes

or perhaps some hints to an alternative strategy?

bw

Matt

1 Like