-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: convert repository to monorepo (#67)
- Loading branch information
Showing
104 changed files
with
29,119 additions
and
79 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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 @@ | ||
name: Standard Nest.js App Flow | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
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: Change to backend directory and install dependencies | ||
run: cd apps/api && npm install | ||
|
||
- name: Change to backend directory and Lint code | ||
run: cd apps/api && npm run lint | ||
|
||
build: | ||
needs: 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: Change to backend directory and install dependencies | ||
run: cd apps/api && npm install | ||
|
||
- name: Change to backend directory and Build Nest.js app | ||
run: cd apps/api && npm run build |
This file contains 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: '18' | ||
|
||
- 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: '18' | ||
|
||
- name: Install dependencies | ||
run: cd apps/portal && npm install | ||
|
||
- name: Build app | ||
run: cd apps/portal && npm run build:prod |
This file contains 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 |
---|---|---|
@@ -1,44 +1,48 @@ | ||
name: Standard Nest.js App Flow | ||
name: Main Workflow | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
choose-workflow: | ||
runs-on: ubuntu-latest | ||
|
||
outputs: | ||
frontend: ${{ steps.set_frontend.outputs.frontend }} | ||
backend: ${{ steps.set_backend.outputs.backend }} | ||
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: npm install | ||
|
||
- name: Lint code | ||
run: npm run lint | ||
|
||
build: | ||
needs: lint | ||
- 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: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build Nest.js app | ||
run: npm run build | ||
- 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 |
This file contains 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
This file contains 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
File renamed without changes.
File renamed without changes.
This file contains 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,38 @@ | ||
# compiled output | ||
/dist | ||
/node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# OS | ||
.DS_Store | ||
|
||
# Tests | ||
/coverage | ||
/.nyc_output | ||
|
||
# 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 | ||
|
||
# Environment variable file | ||
.env |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Osmosys Software Solutions Pvt Ltd | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains 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,59 @@ | ||
# Osmo Notify | ||
|
||
Welcome to the Osmo Notify! 🚀 | ||
|
||
Are you looking to simplify and streamline your notification process? Our Osmo Notify is here to help! With this user-friendly backend application, you can effortlessly send notifications to various channels like email, messaging apps, and more. It's designed to make communication with your users a breeze! | ||
|
||
## What It Does | ||
|
||
Imagine having a central hub where you can create and send notifications seamlessly with a single API. Whether it's sending an important update, a friendly reminder, or urgent information, our app has you covered. Say goodbye to the hassle of handling notifications separately for different platforms. | ||
|
||
## Why Choose Us? | ||
|
||
- **Simplicity:** No need to juggle between different platforms. Manage all your notifications from a single, user-friendly application. | ||
- **Reliability:** Our automated processes ensure your notifications are delivered promptly and accurately. | ||
- **Customizability:** Tailor your notifications to match your brand's voice and style. | ||
|
||
## Key Features | ||
|
||
- 🚀 **Single API for All Channels:** Send notifications to various communication channels using a unified API. No need to manage multiple APIs for different platforms. | ||
- 🔌 **Custom API Integration:** Seamlessly integrate your own custom APIs to push notification data to the database. Our app's cron will handle the rest! | ||
- 🤖 **Automated Processing:** Sit back and relax as our app processes notification data automatically. No manual intervention required. | ||
- 💡 **Easy Integration:** Integrate Osmo Notify seamlessly into your existing workflows. Get up and running in no time. | ||
- 🌐 **Multi-channel Support:** Reach your audience wherever they are. Send notifications via email, messaging apps, and more. | ||
|
||
## Get Started | ||
|
||
1. **Installation:** Clone the repository and follow our simple setup guide. | ||
2. **Create Notifications:** Easily create and customize notifications for different channels. Use your own API or our API to update the notification database. | ||
3. **Sit Back and Relax:** Let our app handle the delivery and status tracking. | ||
|
||
## Documentation | ||
|
||
- [Development Setup](docs/development-setup.md) | ||
- [Production Setup](docs/production-setup.md) | ||
- [Usage Guide](docs/usage-guide.md) | ||
- [Add New Provider](docs/add-new-provider.md) | ||
|
||
## Contributing | ||
|
||
We welcome contributions from the community! If you're interested in contributing to the Osmo Notify, please take a moment to review our [Contribution Guidelines](CONTRIBUTING.md). | ||
|
||
Your contributions help make our app even better. Whether you're a developer, designer, or just enthusiastic about enhancing user experiences, we'd love to have you on board. | ||
|
||
Before you get started, please familiarize yourself with our guidelines to ensure a smooth collaboration process. | ||
|
||
[Contribution Guidelines](CONTRIBUTING.md) | ||
|
||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | ||
|
||
## 👏 Big Thanks to Our Contributors | ||
|
||
<a href="https://github.com/OsmosysSoftware/osmo-notify/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=OsmosysSoftware/osmo-notify" alt="Contributors" /> | ||
</a> | ||
|
||
We appreciate the time and effort put in by all contributors to make this project better! |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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.