Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeware-sthlm/codeware
Codeware multi stack and architecture playground
https://github.com/codeware-sthlm/codeware
github-action mongodb monorepo nx nx-plugin payload postgres react typescript
Last synced: 20 days ago
JSON representation
Codeware multi stack and architecture playground
- Host: GitHub
- URL: https://github.com/codeware-sthlm/codeware
- Owner: codeware-sthlm
- License: mit
- Created: 2024-10-08T15:38:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-04T14:29:32.000Z (30 days ago)
- Last Synced: 2024-12-04T15:30:50.239Z (30 days ago)
- Topics: github-action, mongodb, monorepo, nx, nx-plugin, payload, postgres, react, typescript
- Language: TypeScript
- Homepage:
- Size: 3.25 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Codeware Playground
A playground for multi stack and architecture powered by Codeware Sthlm.
## Packages
### Nx Plugins
#### [`nx-payload`](packages/nx-payload)
Add support for [Payload](https://payloadcms.com) in your existing [Nx](https://nx.dev) workspace.
```sh
npx add @cdwr/nx-payload
```##### [`create-nx-payload`](packages/create-nx-payload)
Quickly create a new [Nx](https://nx.dev) workspace with a [Payload](https://payloadcms.com) application, using the plugin as a preset.
```sh
npx create-nx-payload
```### GitHub Actions
#### [`deploy-env-action`](packages/deploy-env-action)
GitHub action that analyzes the environment to deploy to based on the event details.
#### [`nx-fly-deployment-action`](packages/nx-fly-deployment-action)
GitHub action that brings automatic [Fly.io](https://fly.io) deployments to your [Nx](https://nx.dev) workspace.
#### [`nx-migrate-action`](packages/nx-migrate-action)
GitHub action that brings automatic [Nx](https://nx.dev) migrations to your workspace.
### Node Libraries
#### [`fly-node`](packages/fly-node)
Fly CLI node wrapper for programmatic deployments to [Fly.io](https://fly.io).
### Utilities
#### [`core`](packages/core)
A set of core utilities for the [Codeware](https://codeware.se) ecosystem.
## Development
### Infisical Secret Management
The [Infisical](https://infisical.com) secret management tool is used to manage secrets for the Codeware ecosystem.
1. [Install Infisical CLI](https://infisical.com/docs/cli/overview#installation)
2. Login to access the secrets
```sh
infisical login
```3. List the development secrets
```sh
# all secrets
infisical secrets --recursive# cms application
infisical secrets --recursive --path /cms# web application
infisical secrets --recursive --path /web
```### Release management
The release process is semi-automatic which means:
- Releases are generated from a local machine by a developer
- GitHub action trigger on the tags and publish to NPMSimply run the following command to start the release process:
```sh
[pnpm dlx] nx release-cli
```