Skip to content

Conversation

@minhngo3818
Copy link
Collaborator

@minhngo3818 minhngo3818 commented Aug 13, 2022

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.

@minhngo3818 minhngo3818 added feature-request request a new feature not ready PR PR is not ready to be merged labels Aug 13, 2022
@minhngo3818 minhngo3818 self-assigned this Aug 13, 2022
@minhngo3818 minhngo3818 changed the title relocate frontend folder and setup backend environment relocate frontend files and setup backend environment Aug 15, 2022
@minhngo3818
Copy link
Collaborator Author

Backend setup was completed. Awaiting for merging current PRs

@minhngo3818
Copy link
Collaborator Author

minhngo3818 commented Aug 30, 2022

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 !

@minhngo3818 minhngo3818 removed the not ready PR PR is not ready to be merged label Aug 30, 2022
@minhngo3818 minhngo3818 requested a review from KHVBui August 30, 2022 02:59
@KHVBui
Copy link
Collaborator

KHVBui commented Aug 30, 2022

Yeah looks like prettier is broken too

minhngo3818 and others added 3 commits September 2, 2022 13:29
- 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
@minhngo3818
Copy link
Collaborator Author

All imports was changed into comment to prevent import errors

@minhngo3818 minhngo3818 requested a review from KHVBui September 3, 2022 02:59
Copy link
Collaborator

@KHVBui KHVBui left a 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! :)

@minhngo3818 minhngo3818 merged commit e89ea3f into main Sep 3, 2022
@minhngo3818 minhngo3818 deleted the setup-backend-env branch October 13, 2022 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature-request request a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants