-
Couldn't load subscription status.
- Fork 16
relocate frontend files and setup backend environment #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Backend setup was completed. Awaiting for merging current PRs |
|
The current Node js ci does not pass due to non-relevant ci. Require updated version of ci to test both backend and frontend setup-backend-env is ready for a review ! |
|
Yeah looks like prettier is broken too |
- A default working-directory for the client and backend jobs was added (only works with "run" keyword) - cache-dependecy-path was added for client and backend jobs to make "uses" keyword work properly - Added comments for clarity
…w-for-backend-setup 63-Fixed broken workflow bc/ of refactor
|
All imports was changed into comment to prevent import errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good to go! :)
This PR setup environment for backend development. We will use express.js as backend framework base on its simplicity and fast. mongoDB is used for database because our website stores non-relational data. Backend tasks including api, data schema, ...etc will be posted after merging this PR. The backend environment is inside backend folder.
To make frontend more maintainable, all pages including homepage, events, projects, resources will be located in client/src/pages. Some reusable components including search bar, footer, navbar, ...etc will be in client/src/components. The services folder is supposed for handling api services.
Notes: This PR is not ready because we need to modify workflow for frontend and add a new workflow for backend All current PRs must be merged before this PR.