dali-lab / pine-beetle-backend

Visualizing data and predicting outbreaks of Southern Pine Beetles across twenty US states. Built in the DALI Lab.
https://spbpredict.com
0 stars 0 forks source link

Add users and JWT auth process #74

Closed tmonfre closed 4 years ago

tmonfre commented 4 years ago

Description

Type of Change

Tickets

jeffzyliu commented 4 years ago

one more thing -- I have a 404 middleware set up for unknown routes at the bottom ish of server.js. Is there a way you prefer to have that set up? It currently isn't using the error code interface you defined in constants/.

tmonfre commented 4 years ago

one more thing -- I have a 404 middleware set up for unknown routes at the bottom ish of server.js. Is there a way you prefer to have that set up? It currently isn't using the error code interface you defined in constants/.

I'll update it to send a custom 404 message using the error code interface

tmonfre commented 4 years ago

@jeffzyliu updated to address your comments. thanks!