diff --git a/examples/fastapi-simple-docker-pip/.dockerignore b/examples/fastapi-simple-docker-pip/.dockerignore new file mode 100644 index 0000000..4f719c5 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.dockerignore @@ -0,0 +1,8 @@ +node_modules +.git +.github +build +.devcontainer +.serverless +.venv +.vscode diff --git a/examples/fastapi-simple-docker-pip/.env.example b/examples/fastapi-simple-docker-pip/.env.example new file mode 100644 index 0000000..47fc86a --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.env.example @@ -0,0 +1,7 @@ +# For Email +EMAIL_FROM_EMAIL=admin@admin.com +EMAIL_SMTP_HOST=smtp.gmail.com +EMAIL_SMTP_PASSWORD=password +EMAIL_SMTP_PORT=587 +EMAIL_SMTP_USER=user +EMAIL_TO_EMAIL=admin@admin.com diff --git a/examples/fastapi-simple-docker-pip/.flake8 b/examples/fastapi-simple-docker-pip/.flake8 new file mode 100644 index 0000000..47ef966 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.flake8 @@ -0,0 +1,14 @@ +[flake8] +max-line-length = 100 +max-complexity = 18 +select = + "B", # Bugbear + "C", # Cyclomatic complexity + "E", # PEP8 errors + "F", # PyFlakes + "W", # PEP8 warnings + "T4", # Flake8 plugins that check typing + "B9", # Bugbear +#require-plugins = +# "flake8-bugbear", +# "flake8-black", diff --git a/examples/fastapi-simple-docker-pip/.github/CODEOWNERS b/examples/fastapi-simple-docker-pip/.github/CODEOWNERS new file mode 100644 index 0000000..68fe033 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/CODEOWNERS @@ -0,0 +1 @@ +* @ulises-jeremias @rpmolina \ No newline at end of file diff --git a/examples/fastapi-simple-docker-pip/.github/CODE_OF_CONDUCT.md b/examples/fastapi-simple-docker-pip/.github/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..e64edd1 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/CODE_OF_CONDUCT.md @@ -0,0 +1,8 @@ +# Code of Conduct + +This code of conduct is derived from the Ruby code of conduct. This document provides community guidelines for a safe, respectful, productive, and collaborative place for any person who is willing to contribute to this community. It applies to all โ€œcollaborative spaceโ€, which is defined as community communications channels. Any violations of the code of conduct may be reported by contacting one or more of the project maintainers either directly. + +- Participants will be tolerant of opposing views. +- Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks. +- When interpreting the words and actions of others, participants should always assume good intentions. +- Behaviour that the project maintainers consider to be harassment will not be tolerated. diff --git a/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/bug-report.yml b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..3dec867 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,77 @@ +--- +name: "๐Ÿ› Bug Report" +description: Report a bug +title: "(short issue description)" +labels: [bug] +assignees: [] +body: + - type: textarea + id: description + attributes: + label: Describe the bug + description: What is the problem? A clear and concise description of the bug. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: | + What did you expect to happen? + validations: + required: true + - type: textarea + id: current + attributes: + label: Current Behavior + description: | + What actually happened? + + Please include full errors, uncaught exceptions, stack traces, and relevant logs. + If service/functions responses are relevant, please include wire logs. + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction Steps + description: | + Provide a self-contained, concise snippet of code that can be used to reproduce the issue. + For more complex issues provide a repo with the smallest sample that reproduces the bug. + + Avoid including business logic or unrelated code, it makes diagnosis more difficult. + The code sample should be an SSCCE. See http://sscce.org/ for details. + In short, please provide a code sample that we can copy/paste, run and reproduce. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Possible Solution + description: | + Suggest a fix/reason for the bug + validations: + required: false + - type: textarea + id: context + attributes: + label: Additional Information/Context + description: | + Anything else that might be relevant for troubleshooting this bug. + Providing context helps us come up with a solution that is most useful in the real world. + validations: + required: false + - type: input + id: version + attributes: + label: Version used + description: | + Please provide the version of the repository or tool you are using. + validations: + required: true + - type: input + id: environment + attributes: + label: Environment details (OS name and version, etc.) + validations: + required: true diff --git a/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/config.yml b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..9205c2e --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,6 @@ +--- +blank_issues_enabled: false +contact_links: + - name: ๐Ÿ’ฌ General Question + url: https://github.com/nanlabs/aws-glue-etl-boilerplate/discussions/categories/q-a + about: Please ask and answer questions as a discussion thread diff --git a/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/documentation.yml b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 0000000..861e8d1 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,23 @@ +--- +name: "๐Ÿ“• Documentation Issue" +description: Report an issue in the Reference documentation or Developer Guide +title: "(short issue description)" +labels: [documentation] +assignees: [] +body: + - type: textarea + id: description + attributes: + label: Describe the issue + description: A clear and concise description of the issue. + validations: + required: true + + - type: textarea + id: links + attributes: + label: Links + description: | + Include links to affected documentation page(s). + validations: + required: true diff --git a/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/feature-request.yml b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..7025908 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,63 @@ +--- +name: ๐Ÿš€ Feature Request +description: Suggest an idea for this project +title: "(short issue description)" +labels: [feature-request] +assignees: [] +body: + - type: textarea + id: description + attributes: + label: Describe the feature + description: A clear and concise description of the feature you are proposing. + validations: + required: true + - type: textarea + id: use-case + attributes: + label: Use Case + description: | + Why do you need this feature? For example: "I'm always frustrated when..." + validations: + required: true + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: | + Suggest how to implement the addition or change. + Please include prototype/workaround/sketch/reference implementation. + validations: + required: false + - type: textarea + id: other + attributes: + label: Other Information + description: | + Any alternative solutions or features you considered, a more detailed explanation, + stack traces, related issues, links for context, etc. + validations: + required: false + - type: checkboxes + id: ack + attributes: + label: Acknowledgements + options: + - label: I may be able to implement this feature request + required: false + - label: This feature might incur a breaking change + required: false + - type: input + id: version + attributes: + label: Version used + description: | + Please provide the version of the repository or tool you are using. + validations: + required: true + - type: input + id: environment + attributes: + label: Environment details (OS name and version, etc.) + validations: + required: true diff --git a/examples/fastapi-simple-docker-pip/.github/PULL_REQUEST_TEMPLATE.md b/examples/fastapi-simple-docker-pip/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..c9c7a26 --- /dev/null +++ b/examples/fastapi-simple-docker-pip/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,29 @@ +# What's this PR do? + +_Summary of changes in this PR or what it accomplishes._ + +