-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Before you begin coding, please carefully read the following pages.
Page List:
- See Workflow: https://github.com/tonglam/CITS5505_group-project/wiki/WorkFlow.
- See VSCode Setting Guidline: https://github.com/tonglam/CITS5505_group-project/wiki/VSCode-Setting-Guideline.
- See Coding Conventions: https://github.com/tonglam/CITS5505_group-project/wiki/Coding-Conventions.
- Try to AVOID introducing new js libraries.
- Try to AVOID
inline CSS; use anexternal CSS fileinstead. - Try to AVOID scripts inside the HTML; use an
external JS file. - Try to REUSE UI COMPONENTS as much as possible; utilise
Jinja2features likeextendandmacro. - Prioritize USING BOOTSTRAP STYLES, especially for positioning and responsiveness.
- ENSURE THAT EVERY COMPONENT IS RESPONSIVE.
- REMEMBER we are using Flask Template Rendering NOT Raw
HTML.
- BEFORE commencing the development of a new function, first CHECK if it has already been implemented by someone else.
- PRIOR to implementing business logic, ensure to REVIEW the EDR to confirm if the current database schema aligns with your requirements. If adjustments are necessary, modify the schema and conduct a thorough review.
- STRIVE to maintain a clear separation between routes logic and complex business logic.
- UTILISE
url_for()for navigation purposes throughout the application. - ENSURE that every API is thoroughly tested using appropriate testing data.
- ABSTRACT commonly used functions into a separate
utils.pymodule for improved code organization and reusability. - AVOID the use of magic numbers and magic names in your code. Instead, utilise constants and enums for better readability and maintainability.
See: https://github.com/tonglam/CITS5505_group-project/wiki/Architecture.
See: https://github.com/tonglam/CITS5505_group-project/wiki/ERD.
See: https://github.com/tonglam/CITS5505_group-project/wiki/DB-Init.
See: https://github.com/tonglam/CITS5505_group-project/wiki/System-Design.
See: https://github.com/tonglam/CITS5505_group-project/wiki/Component.
Including topics:
See: https://github.com/tonglam/CITS5505_group-project/wiki/Flask.
See: https://github.com/tonglam/CITS5505_group-project/wiki/Ajax.
See: https://github.com/tonglam/CITS5505_group-project/wiki/Test.
We use github action in this project for CI/CD.
See: https://github.com/tonglam/CITS5505_group-project/wiki/CI‐CD-Workflows.
@ 2024