codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
24 stars 23 forks source link

[Enhancement] - Switch the code in `npm start` in package.json to run Podserver first, THEN the PASS Server. #646

Closed faddah closed 3 weeks ago

faddah commented 1 month ago

This issue was per a discussion at tonight's [Tue., 28-May-2024] PASS DEV meeting, and was ok'd by @leekahung & @andycwilliams.

Describe the Current Behavior/Feature:

Currently, in the package.json, when you run the npm start, it first runs npm run dev, which is the PASS Server, then it runs npm run podserver, which is the Solid Podserver.

Rationale:

You need to Solid Podserver loaded first for authentication, before the PASS Server is loaded, so it then can authenticate. That would be the proper order.

Proposed Changes:

Switch Line 7 in package.json from —

"start": "concurrently --kill-others \"npm run dev\" \"npm run podserver\"",

...to be...

"start": "concurrently --kill-others \"npm run podserver\" \"npm run dev\"",

Possible Drawbacks:

N/A

Alternatives Considered:

N/A

Additional Context:

N/A