Open
Conversation
start of change from monolithic server backend to modular
Add the Express app.js see issue 100
db connection logic so can be modular
Oops wrong place
new backend package.json
new AuthController.js that has no duplication or redundancy
fixed many issues with auth.js middleware
removed this package.json that has both frontend and backend packages in it in favor of separated and this one will be just frontend packages will need reinstalling and the lock file committed and pushed
deleted this because this now only has frontend packages and this will need reinstalling and recommit back to github yes on merge this will break ci but just add back the lock file then we can work on CI
removed duplicate comments
removed unnecessary file
Owner
Author
|
Ignore the CI run here, the lock file is intentionally removed due to refactoring separating frontend from backend. The new lock file will need added back to this. The backend is now in /src |
4 tasks
This was referenced Feb 22, 2026
Collaborator
|
package.json is inside src, so the start script node src/server.js resolves to src/src/server.js and fails to load arc/routes. |
Fixing main entrypoint and also start script paths from src/server.js to just server.js
shishir-21
approved these changes
Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR;
/package.json in root is now frontend only packages (will need reinstalling and recommit of lock file
/src/package.json is now the backend packages only
backend server is now a Express app.js and a server.js in /src. Only job they do now is server connections to the database and app.js is routing, etc.
fixed the backend logic so that it's not redundant or duplicated like it was.
is now easier to maintain and should cause less CI issues
Now that the css is less monolithic this should be easier now to further separate it into separate backend and frontend without needing to make it into separate repositories
Note: this might need some minor cleaning up following merge including steps outlined above