-
Notifications
You must be signed in to change notification settings - Fork 0
chore: initial setup #2
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
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f2a6a34
chore: initial setup
Hitesh-Kandpal 19e9ec8
chore: initial setup
Hitesh-Kandpal b9395ae
chore: initial setup
Hitesh-Kandpal b850a67
chore: initial setup
Hitesh-Kandpal 466ed18
chore: initial setup
Hitesh-Kandpal c97be38
chore: initial setup
Hitesh-Kandpal 3446919
chore: initial setup
Hitesh-Kandpal 4ab932b
chore: initial setup
Hitesh-Kandpal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
.github/PULL_REQUEST_TEMPLATE/pull_request_template_api.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| ## API PR Checklist | ||
|
|
||
| ### Pre-requisites | ||
|
|
||
| - [ ] I have gone through the Contributing guidelines for [Submitting a Pull Request (PR)](../../CONTRIBUTING.md#submitting-a-pull-request-pr) and ensured that this is not a duplicate PR. | ||
| - [ ] I have performed preliminary testing using the [test suite](../../apps/api/OsmoX.postman_collection.json) to ensure that any existing features are not impacted and any new features are working as expected. | ||
| - [ ] I have updated the required [api docs](../../apps/api/docs/) as applicable. | ||
| - [ ] I have added/updated test cases to the [test suite](../../apps/api/OsmoX.postman_collection.json) as applicable | ||
|
|
||
| ### PR Details | ||
|
|
||
| PR details have been updated as per the given format (see below) | ||
|
|
||
| - [ ] PR title adheres to the format specified in guidelines (e.g., `feat: add admin login endpoint`) | ||
| - [ ] Description has been added | ||
| - [ ] Related changes have been added (optional) | ||
| - [ ] Screenshots have been added (optional) | ||
| - [ ] Query request and response examples have been added (as applicable, in case added or updated) | ||
| - [ ] Documentation changes have been listed (as applicable) | ||
| - [ ] Test suite output is added (as applicable) | ||
| - [ ] Pending actions have been added (optional) | ||
| - [ ] Any other additional notes have been added (optional) | ||
|
|
||
| ### Additional Information | ||
|
|
||
| - [ ] Appropriate label(s) have been added (`ready for review` should be added if the PR is ready to be reviewed) | ||
| - [ ] Assignee(s) and reviewer(s) have been added (optional) | ||
|
|
||
| --- | ||
|
|
||
| **Description:** | ||
|
|
||
| Add brief description about the changes made in this PR and their purpose. This section can also include mention to any other PRs or issues if needed. | ||
|
|
||
| **Related changes:** | ||
|
|
||
| - Add short points about the different changes made within the files in this PR. | ||
|
|
||
| **Screenshots:** | ||
|
|
||
| Add any screenshots as required. | ||
|
|
||
| **Query request and response:** | ||
|
|
||
| - Add any query request body, cURL statement and response body for the made change or addition. | ||
|
|
||
| **Documentation changes:** | ||
|
|
||
| - Add a list of changes made to the API documents with brief descriptions. | ||
|
|
||
| **Test suite output:** | ||
|
|
||
| - Add the output of the status of different test cases in the testing suite. | ||
|
|
||
| **Pending actions:** | ||
|
|
||
| - Add list of any pending actions that have or would require to be done in this PR. | ||
|
|
||
| **Additional notes:** | ||
|
|
||
| - Add list of any additional notes you may want to convey in this PR. | ||
44 changes: 44 additions & 0 deletions
44
.github/PULL_REQUEST_TEMPLATE/pull_request_template_portal.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| ## Portal PR Checklist | ||
|
|
||
| ### Pre-requisites | ||
|
|
||
| - [ ] I have gone through the Contributing guidelines for [Submitting a Pull Request (PR)](../../CONTRIBUTING.md#submitting-a-pull-request-pr) and ensured that this is not a duplicate PR. | ||
| - [ ] I have performed preliminary testing to ensure that any existing features are not impacted and any new features are working as expected. | ||
xixas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ### PR Details | ||
|
|
||
| PR details have been updated as per the given format (see below) | ||
|
|
||
| - [ ] PR title adheres to the format specified in guidelines (e.g., `feat: add admin login page`) | ||
| - [ ] Description has been added | ||
| - [ ] Related changes have been added (optional) | ||
| - [ ] Screenshots have been added (optional) | ||
| - [ ] Pending actions have been added (optional) | ||
| - [ ] Any other additional notes have been added (optional) | ||
|
|
||
| ### Additional Information | ||
|
|
||
| - [ ] Appropriate label(s) have been added (`ready for review` should be added if the PR is ready to be reviewed) | ||
| - [ ] Assignee(s) and reviewer(s) have been added (optional) | ||
|
|
||
| --- | ||
|
|
||
| **Description:** | ||
|
|
||
| Add brief description about the changes made in this PR and their purpose. This section can also include mention to any other PRs or issues if needed. | ||
xixas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| **Related changes:** | ||
|
|
||
| - Add short points about the different changes made within the files in this PR. | ||
|
|
||
| **Screenshots:** | ||
|
|
||
| Add any screenshots as required. | ||
|
|
||
| **Pending actions:** | ||
|
|
||
| - Add list of any pending actions that have or would require to be done in this PR. | ||
|
|
||
| **Additional notes:** | ||
|
|
||
| - Add list of any additional notes you may want to convey in this PR. | ||
xixas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| name: Standard Angular App Flow | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '20' | ||
|
|
||
| - name: Install dependencies | ||
| run: cd apps/portal && npm install | ||
|
|
||
| - name: Run linting | ||
| run: cd apps/portal && npm run lint | ||
|
|
||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
| needs: lint | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '20' | ||
|
|
||
| - name: Install dependencies | ||
| run: cd apps/portal && npm install | ||
|
|
||
| - name: Build app | ||
| run: cd apps/portal && npm run build:prod |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| name: Main Workflow | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| choose-workflow: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| frontend: ${{ steps.set_frontend.outputs.frontend }} | ||
| backend: ${{ steps.set_backend.outputs.backend }} | ||
| steps: | ||
| - name: Set up Frontend | ||
| id: set_frontend | ||
| run: echo "::set-output name=frontend::false" | ||
| - name: Set up Backend | ||
| id: set_backend | ||
| run: echo "::set-output name=backend::false" | ||
| - name: Check for frontend changes | ||
| id: check_frontend_changes | ||
| run: | | ||
| # Check if there are changes in the frontend folder | ||
| if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -qE '^apps/portal'; then | ||
| echo "::set-output name=frontend::true" | ||
| fi | ||
| - name: Check for backend changes | ||
| id: check_backend_changes | ||
| run: | | ||
| # Check if there are changes in the backend folder | ||
| if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -qE '^apps/api'; then | ||
| echo "::set-output name=backend::true" | ||
| fi | ||
|
|
||
| run-workflows: | ||
| needs: choose-workflow | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Run Frontend Workflow | ||
| if: needs.choose-workflow.outputs.frontend == 'true' | ||
| run: echo "Run Frontend Workflow" | ||
| # You can replace the echo command with the actual command to trigger the frontend workflow | ||
|
|
||
| - name: Run Backend Workflow | ||
| if: needs.choose-workflow.outputs.backend == 'true' | ||
| run: echo "Run Backend Workflow" | ||
| # You can replace the echo command with the actual command to trigger the backend workflow | ||
xixas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # OS | ||
| .DS_Store | ||
|
|
||
| # IDEs and editors | ||
| /.idea | ||
| .project | ||
| .classpath | ||
| .c9/ | ||
| *.launch | ||
| .settings/ | ||
| *.sublime-workspace | ||
|
|
||
| # IDE - VSCode | ||
| .vscode/* | ||
| !.vscode/settings.json | ||
| !.vscode/tasks.json | ||
| !.vscode/launch.json | ||
| !.vscode/extensions.json |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Editor configuration, see https://editorconfig.org | ||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.ts] | ||
| quote_type = single | ||
|
|
||
| [*.md] | ||
| max_line_length = off | ||
| trim_trailing_whitespace = false |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.