diff --git a/.devcontainer.json b/.devcontainer.json index 51cc3fb..2e57512 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -38,7 +38,8 @@ "Pandy.bun", "github.vscode-github-actions", "yzhang.markdown-all-in-one", - "Vue.volar" + "Vue.volar", + "vivaxy.vscode-conventional-commits" ], "settings": { "editor.tabSize": 2, diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 7b4a2a8..0de6563 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,5 +1,5 @@ name: 🐞 Bug report -description: Report an issue with `elysia-realworld-example-app` +description: Report an issue with `the-bed-stack` labels: [pending triage] body: - type: markdown @@ -10,7 +10,7 @@ body: - Read the `README.md` - Ask on [Discord](https://discord.gg/PH4rBdTU) - - Ask on [GitHub Discussions](https://github.com/agnyz/elysia-realworld-example-app/discussions) + - Ask on [GitHub Discussions](https://github.com/agnyz/the-bed-stack/discussions) - type: input id: version @@ -47,11 +47,11 @@ body: label: Validations description: Before submitting the issue, please make sure you do the following options: - - label: Read the [Contributing Guidelines](https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md). + - label: Read the [Contributing Guidelines](https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md). required: true - - label: Check that there isn't [already an issue](https://github.com/agnyz/elysia-realworld-example-app/issues) that reports the same bug. + - label: Check that there isn't [already an issue](https://github.com/agnyz/the-bed-stack/issues) that reports the same bug. required: true - - label: Check that this is a concrete bug. For Q&A, open a [GitHub Discussion](https://github.com/agnyz/elysia-realworld-example-app/discussions). + - label: Check that this is a concrete bug. For Q&A, open a [GitHub Discussion](https://github.com/agnyz/the-bed-stack/discussions). required: true - label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug. required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index f49abab..b225522 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,8 +4,8 @@ contact_links: url: https://discord.gg/PH4rBdTU about: Use Discord for instantly connecting with other developers on this project. - name: Discussions - url: https://github.com/agnyz/elysia-realworld-example-app/discussions + url: https://github.com/agnyz/the-bed-stack/discussions about: Use GitHub discussions for a message board-style forum for the project, discussing ideas, questions, etc. - name: Q&A - url: https://github.com/agnyz/elysia-realworld-example-app/discussions/categories/q-a?discussions_q= + url: https://github.com/agnyz/the-bed-stack/discussions/categories/q-a?discussions_q= about: See the full list of questions and answers, or ask your own. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 4d153e3..e9740bf 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,5 +1,5 @@ name: 🚀 New feature proposal -description: Propose a new feature to be added to `elysia-realworld-example-app` +description: Propose a new feature to be added to `the-bed-stack` labels: ['enhancement: pending triage'] body: - type: markdown @@ -10,7 +10,7 @@ body: id: feature-description attributes: label: Clear and concise description of the problem - description: 'As a developer using `elysia-realworld-example-app` I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!' + description: 'As a developer using `the-bed-stack` I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!' validations: required: true - type: textarea @@ -36,7 +36,7 @@ body: label: Validations description: Before submitting the FR, please make sure you do the following options: - - label: Read the [Contributing Guide](https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md). + - label: Read the [Contributing Guide](https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md). required: true - label: Read the `README.md`. required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 8be0376..f5c28d0 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -9,7 +9,7 @@ ### PR Checklist (Please do not remove) - [ ] Read the [CONTRIBUTING]( - https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md) guide + https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md) guide - [ ] Title this PR according to the `type(scope): description` or `type: description` format - [ ] Provide description sufficient to understand the changes introduced in this PR, and, if necessary, some screenshots - [ ] Reference an issue or discussion where the feature or changes have been previously discussed diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index bb44b22..d219c53 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,6 +16,6 @@ jobs: - uses: google-github-actions/release-please-action@v3 with: release-type: node - package-name: elysia-realworld-example-app + package-name: the-bed-stack # stay on 0.x until we have a stable release bump-minor-pre-major: true \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f89278..7815850 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,60 +1,60 @@ # Changelog -## [0.1.0](https://github.com/agnyz/elysia-realworld-example-app/compare/v0.0.1...v0.1.0) (2023-10-18) +## [0.1.0](https://github.com/agnyz/the-bed-stack/compare/v0.0.1...v0.1.0) (2023-10-18) ### Features -* data faker ([#69](https://github.com/agnyz/elysia-realworld-example-app/issues/69)) ([528bf3d](https://github.com/agnyz/elysia-realworld-example-app/commit/528bf3d3f803f30abf9dfb18b8de9a0a610cc073)) -* PR template ([581ba87](https://github.com/agnyz/elysia-realworld-example-app/commit/581ba8751434c6afd4c1f95102f5ef4e3d70e2c1)), closes [#39](https://github.com/agnyz/elysia-realworld-example-app/issues/39) +* data faker ([#69](https://github.com/agnyz/the-bed-stack/issues/69)) ([528bf3d](https://github.com/agnyz/the-bed-stack/commit/528bf3d3f803f30abf9dfb18b8de9a0a610cc073)) +* PR template ([581ba87](https://github.com/agnyz/the-bed-stack/commit/581ba8751434c6afd4c1f95102f5ef4e3d70e2c1)), closes [#39](https://github.com/agnyz/the-bed-stack/issues/39) ## 0.0.1 (2023-10-16) ### Features -* add favicon ([4996119](https://github.com/agnyz/elysia-realworld-example-app/commit/49961196d1d034eb16ab3ae75371eb4587281636)) -* create-db.sh ([24e94f6](https://github.com/agnyz/elysia-realworld-example-app/commit/24e94f6a4221f6acf96208dc1cce401425e738fe)) -* date to timestamp ([e0a1dcb](https://github.com/agnyz/elysia-realworld-example-app/commit/e0a1dcb1fc70b5f75323f002be8aced2c7c702a8)) -* explicitly forward ports ([49a7ec3](https://github.com/agnyz/elysia-realworld-example-app/commit/49a7ec366f69fa036b864256114ac82ab9fd45b9)) -* generalize table drop ([b8b6689](https://github.com/agnyz/elysia-realworld-example-app/commit/b8b668939cc684f70a70a11c1ed78ce6283da7fa)) -* lint ([#44](https://github.com/agnyz/elysia-realworld-example-app/issues/44)) ([bc35136](https://github.com/agnyz/elysia-realworld-example-app/commit/bc351361d1899d18fb5cafce4bf2a5258de876d1)) -* migrate ([62230a2](https://github.com/agnyz/elysia-realworld-example-app/commit/62230a264fb5b9aaf6d6318ea2c2da857ded07e6)) -* open preview on mount ([7a53aa5](https://github.com/agnyz/elysia-realworld-example-app/commit/7a53aa5b2f06c94a070eea257fefdb90001c3924)) -* persist database ([8cf526c](https://github.com/agnyz/elysia-realworld-example-app/commit/8cf526c43dd8b92ac791aacc3b81f3e8160129a6)) -* postgres integration ([#35](https://github.com/agnyz/elysia-realworld-example-app/issues/35)) ([9014069](https://github.com/agnyz/elysia-realworld-example-app/commit/90140694a709265205cc2303001c5c15a70ca6e2)) -* postgresql devcontainer feature ([c3fedf5](https://github.com/agnyz/elysia-realworld-example-app/commit/c3fedf56c270c7c4c9184aa5d6a963f7506f5886)) -* release-please ([a8cbb70](https://github.com/agnyz/elysia-realworld-example-app/commit/a8cbb703a8b0505809d2536ab0d32eb285e67a36)) -* seed ([dc3c31b](https://github.com/agnyz/elysia-realworld-example-app/commit/dc3c31bd2bfb3d3068ae3c2a9d326b271cd31de9)) -* support bun-like .env hierarchy in docker compose ([#40](https://github.com/agnyz/elysia-realworld-example-app/issues/40)) ([2bf8fb0](https://github.com/agnyz/elysia-realworld-example-app/commit/2bf8fb037e5dbbb58699eaa82e4c167a7f01183c)) -* swagger endpoint ([#43](https://github.com/agnyz/elysia-realworld-example-app/issues/43)) ([e0c5f05](https://github.com/agnyz/elysia-realworld-example-app/commit/e0c5f05001e8ca167e64becbdab7a653ac3f5544)) -* swagger features ([4f75751](https://github.com/agnyz/elysia-realworld-example-app/commit/4f7575128d3652cf1efe65f0cb376c2ac56420b4)) -* use NestJS design patterns ([#37](https://github.com/agnyz/elysia-realworld-example-app/issues/37)) ([f4e73fb](https://github.com/agnyz/elysia-realworld-example-app/commit/f4e73fb36247db80142fdcb27a5d7e50af83e3e4)) -* user auth and related endpoints ([#47](https://github.com/agnyz/elysia-realworld-example-app/issues/47)) ([915f8cd](https://github.com/agnyz/elysia-realworld-example-app/commit/915f8cd8f5ed11383c8271e177257fa2f7fc6791)) -* wait-for-db retry until db is ready ([1702c8b](https://github.com/agnyz/elysia-realworld-example-app/commit/1702c8b9ab84f2ed598a943f6cd9ccc256d19e51)) -* wait-for-it ([90fccce](https://github.com/agnyz/elysia-realworld-example-app/commit/90fccce94b26ada6e152e7fe717686822a850fbe)) +* add favicon ([4996119](https://github.com/agnyz/the-bed-stack/commit/49961196d1d034eb16ab3ae75371eb4587281636)) +* create-db.sh ([24e94f6](https://github.com/agnyz/the-bed-stack/commit/24e94f6a4221f6acf96208dc1cce401425e738fe)) +* date to timestamp ([e0a1dcb](https://github.com/agnyz/the-bed-stack/commit/e0a1dcb1fc70b5f75323f002be8aced2c7c702a8)) +* explicitly forward ports ([49a7ec3](https://github.com/agnyz/the-bed-stack/commit/49a7ec366f69fa036b864256114ac82ab9fd45b9)) +* generalize table drop ([b8b6689](https://github.com/agnyz/the-bed-stack/commit/b8b668939cc684f70a70a11c1ed78ce6283da7fa)) +* lint ([#44](https://github.com/agnyz/the-bed-stack/issues/44)) ([bc35136](https://github.com/agnyz/the-bed-stack/commit/bc351361d1899d18fb5cafce4bf2a5258de876d1)) +* migrate ([62230a2](https://github.com/agnyz/the-bed-stack/commit/62230a264fb5b9aaf6d6318ea2c2da857ded07e6)) +* open preview on mount ([7a53aa5](https://github.com/agnyz/the-bed-stack/commit/7a53aa5b2f06c94a070eea257fefdb90001c3924)) +* persist database ([8cf526c](https://github.com/agnyz/the-bed-stack/commit/8cf526c43dd8b92ac791aacc3b81f3e8160129a6)) +* postgres integration ([#35](https://github.com/agnyz/the-bed-stack/issues/35)) ([9014069](https://github.com/agnyz/the-bed-stack/commit/90140694a709265205cc2303001c5c15a70ca6e2)) +* postgresql devcontainer feature ([c3fedf5](https://github.com/agnyz/the-bed-stack/commit/c3fedf56c270c7c4c9184aa5d6a963f7506f5886)) +* release-please ([a8cbb70](https://github.com/agnyz/the-bed-stack/commit/a8cbb703a8b0505809d2536ab0d32eb285e67a36)) +* seed ([dc3c31b](https://github.com/agnyz/the-bed-stack/commit/dc3c31bd2bfb3d3068ae3c2a9d326b271cd31de9)) +* support bun-like .env hierarchy in docker compose ([#40](https://github.com/agnyz/the-bed-stack/issues/40)) ([2bf8fb0](https://github.com/agnyz/the-bed-stack/commit/2bf8fb037e5dbbb58699eaa82e4c167a7f01183c)) +* swagger endpoint ([#43](https://github.com/agnyz/the-bed-stack/issues/43)) ([e0c5f05](https://github.com/agnyz/the-bed-stack/commit/e0c5f05001e8ca167e64becbdab7a653ac3f5544)) +* swagger features ([4f75751](https://github.com/agnyz/the-bed-stack/commit/4f7575128d3652cf1efe65f0cb376c2ac56420b4)) +* use NestJS design patterns ([#37](https://github.com/agnyz/the-bed-stack/issues/37)) ([f4e73fb](https://github.com/agnyz/the-bed-stack/commit/f4e73fb36247db80142fdcb27a5d7e50af83e3e4)) +* user auth and related endpoints ([#47](https://github.com/agnyz/the-bed-stack/issues/47)) ([915f8cd](https://github.com/agnyz/the-bed-stack/commit/915f8cd8f5ed11383c8271e177257fa2f7fc6791)) +* wait-for-db retry until db is ready ([1702c8b](https://github.com/agnyz/the-bed-stack/commit/1702c8b9ab84f2ed598a943f6cd9ccc256d19e51)) +* wait-for-it ([90fccce](https://github.com/agnyz/the-bed-stack/commit/90fccce94b26ada6e152e7fe717686822a850fbe)) ### Bug Fixes -* access db externally ([418f27a](https://github.com/agnyz/elysia-realworld-example-app/commit/418f27a354d35abd2aa35723bb6a20b6744e1cca)) -* biome fail commit when no files are processed ([fb6c519](https://github.com/agnyz/elysia-realworld-example-app/commit/fb6c519e1b99dd3789570f956c4ed8dd1f2c5897)) -* breaking error after update ([3b453db](https://github.com/agnyz/elysia-realworld-example-app/commit/3b453dbf26dc1a72108de00d1731e195754f7be5)) -* change demo URL link ([51ed7c0](https://github.com/agnyz/elysia-realworld-example-app/commit/51ed7c0456397c452a3a4ff67d7e343c8da419eb)) -* create-db correctly call wait-for-db script ([c29ea00](https://github.com/agnyz/elysia-realworld-example-app/commit/c29ea00a540410a2e3cc2278b8c36a9fcdce47b5)) -* create-db.sh reference correct script ([5d8cca7](https://github.com/agnyz/elysia-realworld-example-app/commit/5d8cca74a70d3bcd51bf23f2458a2342400b495b)) -* create-db.sh reference correct script ([6099902](https://github.com/agnyz/elysia-realworld-example-app/commit/6099902fd7f89c3f1abdab87cafe7e439094e4f5)) -* drizzle studio not showing entities ([b4becf5](https://github.com/agnyz/elysia-realworld-example-app/commit/b4becf5618d088a6ff359f352c2d5af8bbde7e1c)) -* formatter ([e375e49](https://github.com/agnyz/elysia-realworld-example-app/commit/e375e49c56a58a4ce2d9c62483b1289d7fc5e1f4)) -* migrations directory ([25c5d89](https://github.com/agnyz/elysia-realworld-example-app/commit/25c5d89131960b030b7eeeb75dcd28557949024c)) -* postCreateCommand wait-for-it directory ([0518690](https://github.com/agnyz/elysia-realworld-example-app/commit/0518690ecc659bd8ff6410c6016eaf0103c0f248)) -* postCreateCommand wait-for-it script ([145492c](https://github.com/agnyz/elysia-realworld-example-app/commit/145492c4416204c6bb5cf94f60969575ff190278)) -* remove bio and image fields from insert ([d4b9d8a](https://github.com/agnyz/elysia-realworld-example-app/commit/d4b9d8ab99e7afb1f3e786febc4895ffa55dbdd5)) -* stay on 0.x ([6f92913](https://github.com/agnyz/elysia-realworld-example-app/commit/6f92913450f801a882ae4393c3c6f938db1f3c52)) -* temporarily rely on rebuilding ([0d70816](https://github.com/agnyz/elysia-realworld-example-app/commit/0d7081642f486041ed6e55885640bdf95fe56ffb)) -* vitepress deployment ([b765fc5](https://github.com/agnyz/elysia-realworld-example-app/commit/b765fc56105c48a3b927064d14d8c9647c9e32f3)), closes [#48](https://github.com/agnyz/elysia-realworld-example-app/issues/48) +* access db externally ([418f27a](https://github.com/agnyz/the-bed-stack/commit/418f27a354d35abd2aa35723bb6a20b6744e1cca)) +* biome fail commit when no files are processed ([fb6c519](https://github.com/agnyz/the-bed-stack/commit/fb6c519e1b99dd3789570f956c4ed8dd1f2c5897)) +* breaking error after update ([3b453db](https://github.com/agnyz/the-bed-stack/commit/3b453dbf26dc1a72108de00d1731e195754f7be5)) +* change demo URL link ([51ed7c0](https://github.com/agnyz/the-bed-stack/commit/51ed7c0456397c452a3a4ff67d7e343c8da419eb)) +* create-db correctly call wait-for-db script ([c29ea00](https://github.com/agnyz/the-bed-stack/commit/c29ea00a540410a2e3cc2278b8c36a9fcdce47b5)) +* create-db.sh reference correct script ([5d8cca7](https://github.com/agnyz/the-bed-stack/commit/5d8cca74a70d3bcd51bf23f2458a2342400b495b)) +* create-db.sh reference correct script ([6099902](https://github.com/agnyz/the-bed-stack/commit/6099902fd7f89c3f1abdab87cafe7e439094e4f5)) +* drizzle studio not showing entities ([b4becf5](https://github.com/agnyz/the-bed-stack/commit/b4becf5618d088a6ff359f352c2d5af8bbde7e1c)) +* formatter ([e375e49](https://github.com/agnyz/the-bed-stack/commit/e375e49c56a58a4ce2d9c62483b1289d7fc5e1f4)) +* migrations directory ([25c5d89](https://github.com/agnyz/the-bed-stack/commit/25c5d89131960b030b7eeeb75dcd28557949024c)) +* postCreateCommand wait-for-it directory ([0518690](https://github.com/agnyz/the-bed-stack/commit/0518690ecc659bd8ff6410c6016eaf0103c0f248)) +* postCreateCommand wait-for-it script ([145492c](https://github.com/agnyz/the-bed-stack/commit/145492c4416204c6bb5cf94f60969575ff190278)) +* remove bio and image fields from insert ([d4b9d8a](https://github.com/agnyz/the-bed-stack/commit/d4b9d8ab99e7afb1f3e786febc4895ffa55dbdd5)) +* stay on 0.x ([6f92913](https://github.com/agnyz/the-bed-stack/commit/6f92913450f801a882ae4393c3c6f938db1f3c52)) +* temporarily rely on rebuilding ([0d70816](https://github.com/agnyz/the-bed-stack/commit/0d7081642f486041ed6e55885640bdf95fe56ffb)) +* vitepress deployment ([b765fc5](https://github.com/agnyz/the-bed-stack/commit/b765fc56105c48a3b927064d14d8c9647c9e32f3)), closes [#48](https://github.com/agnyz/the-bed-stack/issues/48) ### Miscellaneous Chores -* release 0.0.1 ([a68c06a](https://github.com/agnyz/elysia-realworld-example-app/commit/a68c06a3679855ff635cd37c48f57a7d433b6618)) +* release 0.0.1 ([a68c06a](https://github.com/agnyz/the-bed-stack/commit/a68c06a3679855ff635cd37c48f57a7d433b6618)) diff --git a/GOVERNANCE.md b/GOVERNANCE.md index 0970bfd..4f0dbc3 100644 --- a/GOVERNANCE.md +++ b/GOVERNANCE.md @@ -27,7 +27,7 @@ We are a group of open-source developers who develop, use, promote the Elysia Re * **Transparency** - While the decision-making process is not always public, the results of the decision making process must be public. Decisions will be made after thoughtful consideration of the community's input through [Discord](https://discord.gg/PH4rBdTU) and [GitHub Discussions](https://github.com/agnyz/elysia-realworld-example-app/discussions). + While the decision-making process is not always public, the results of the decision making process must be public. Decisions will be made after thoughtful consideration of the community's input through [Discord](https://discord.gg/PH4rBdTU) and [GitHub Discussions](https://github.com/agnyz/the-bed-stack/discussions). * **Automation** diff --git a/README.md b/README.md index 22949ba..0bafca3 100644 --- a/README.md +++ b/README.md @@ -1,47 +1,31 @@
-# ElysiaJS RealWorld [![GitHub release (with filter)](https://img.shields.io/github/v/release/agnyz/elysia-realworld-example-app?label&color=orange)](https://github.com/agnyz/elysia-realworld-example-app/releases) +![Logo for The BED Stack RealWorld example](logo.png) -###### _Exemplary app in the backend crafted with [Bun](https://bun.sh/) + [ElysiaJS](https://elysiajs.com/) + [DrizzleORM](https://orm.drizzle.team/) adhering to the [RealWorld API spec](https://realworld-docs.netlify.app/docs/specs/backend-specs/introduction/)._ +###### _Example app crafted with [Bun](https://github.com/oven-sh/bun) + [ElysiaJS](https://github.com/elysiajs/elysia) + [DrizzleORM](https://github.com/drizzle-team/drizzle-orm) adhering to the [RealWorld](https://github.com/gothinkster/realworld) [API spec](https://realworld-docs.netlify.app/docs/specs/backend-specs/introduction/)._ -[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/agnyz/elysia-realworld-example-app/test.yml)](https://github.com/agnyz/elysia-realworld-example-app/actions/workflows/test.yml) [![Discord](https://img.shields.io/discord/1164270344115335320?label=Discord)](https://discord.gg/PH4rBdTU) [![Docs](https://img.shields.io/badge/docs-website-blue)](https://agnyz.github.io/elysia-realworld-example-app) [![Demo](https://img.shields.io/badge/demo-website-blue)](https://demo.realworld.io/) [![GitHub License](https://img.shields.io/github/license/agnyz/elysia-realworld-example-app)](https://github.com/agnyz/elysia-realworld-example-app/blob/main/LICENSE) +[![GitHub release (with filter)](https://img.shields.io/github/v/release/agnyz/the-bed-stack?label&color=orange)](https://github.com/agnyz/the-bed-stack/releases) +[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/agnyz/the-bed-stack/test.yml)](https://github.com/agnyz/the-bed-stack/actions/workflows/test.yml) [![Discord](https://img.shields.io/badge/Discord-Agnyz%20Technologies-%235865F2)](https://discord.gg/PH4rBdTU) [![Docs](https://img.shields.io/badge/docs-website-blue)](https://agnyz.github.io/the-bed-stack) [![Demo](https://img.shields.io/badge/demo-website-blue)](https://demo.realworld.io/) [![GitHub License](https://img.shields.io/github/license/agnyz/the-bed-stack)](https://github.com/agnyz/the-bed-stack/blob/main/LICENSE) -
- ---- - -[![RealWorld Example App](logo.png)](https://github.com/gothinkster/realworld) - -This codebase was created to demonstrate a fully fledged backend application built with **Bun, ElysiaJS, and DrizzleORM** including CRUD operations, authentication, routing, pagination, and more. - -We've gone to great lengths to adhere to the **Bun, ElysiaJS, and DrizzleORM** community styleguides & best practices. +### Visit https://agnyz.github.io/the-bed-stack for docs, guides, and more - learn about the stack you don't want to sleep on 🛌💤 -For more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo. +### Let's share a BED - join our [Discord server](https://discord.gg/PH4rBdTU) today -🚀 Give it a try and let us know if you have any questions or feedback on [Discord](https://discord.gg/PH4rBdTU) or [GitHub Discussions](https://github.com/agnyz/elysia-realworld-example-app/discussions). -## How it works - -The application uses [ElysiaJS](https://elysiajs.com/) framework to implement the [backend API](https://realworld-docs.netlify.app/docs/specs/backend-specs/introduction) outlined in the [RealWorld docs](https://realworld-docs.netlify.app/). - -It relies on [Postgres.js](https://github.com/porsager/postgres) to store data, and interacts with it through [DrizzleORM](https://orm.drizzle.team/docs/quick-postgresql/postgresjs). - -The runtime is [Bun](https://bun.sh/) and the code is written in [TypeScript](https://www.typescriptlang.org/). - -## Documentation + -Check out our documentation by visiting https://agnyz.github.io/elysia-realworld-example-app. +--- -## Getting started +## Quick Start > [!NOTE] -> This project includes support for [Dev Containers](https://code.visualstudio.com/docs/remote/containers) in VSCode. Read more about it in [Developing in a Dev Container in the docs](https://agnyz.github.io/elysia-realworld-example-app/dev-container.html). +> **For an even quicker start**: this project includes experimental support for [Dev Containers](https://code.visualstudio.com/docs/remote/containers) in VSCode. Learn more about it in the docs: [Developing in a Dev Container](https://agnyz.github.io/the-bed-stack/dev-container.html). 1. **Clone and install dependencies** ```sh - gh repo clone agnyz/elysia-realworld-example-app - cd elysia-realworld-example-app + gh repo clone agnyz/the-bed-stack + cd the-bed-stack bun i ``` diff --git a/SUPPORT.md b/SUPPORT.md index f508725..eb2e3c5 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -1,6 +1,6 @@ # Support -This article explains where to get help with ElysiaJS RealWorld. +This article explains where to get help with The Bed Stack. Please read through the following guidelines. > [!WARNING] @@ -11,7 +11,7 @@ Please read through the following guidelines. ## Asking quality questions -Questions can go to our [Discord server](https://discord.gg/PH4rBdTU) or [GitHub discussions](https://github.com/agnyz/elysia-realworld-example-app/discussions). +Questions can go to our [Discord server](https://discord.gg/PH4rBdTU) or [GitHub discussions](https://github.com/agnyz/the-bed-stack/discussions). Help us help you! Spend time framing questions and add links and resources. diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 07465aa..5b28a16 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -7,10 +7,17 @@ const isProd = process.env.NODE_ENV === 'production'; export default defineConfig({ title, description, + head: [['link', { rel: 'icon', href: '/icon-dark.svg' }]], themeConfig: { // https://vitepress.dev/reference/default-theme-config + logo: { + dark: '/icon-dark.svg', + light: '/icon-light.svg', + width: 24, + height: 24, + }, nav: [ - { text: 'Guide', link: '/what-is-elysiajs-realworld' }, + { text: 'Guide', link: '/what-is-the-bed-stack' }, { text: 'RealWorld', items: [ @@ -37,11 +44,11 @@ export default defineConfig({ items: [ { text: 'Changelog', - link: 'https://github.com/agnyz/elysia-realworld-example-app/blob/main/CHANGELOG.md', + link: 'https://github.com/agnyz/the-bed-stack/blob/main/CHANGELOG.md', }, { text: 'Contributing', - link: 'https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md', + link: 'https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md', }, ], }, @@ -52,8 +59,8 @@ export default defineConfig({ text: 'Introduction', items: [ { - text: 'What is ElysiaJS RealWorld?', - link: '/what-is-elysiajs-realworld', + text: 'What is The BED Stack?', + link: '/what-is-the-bed-stack', }, { text: 'Getting Started', link: '/getting-started' }, ], @@ -71,18 +78,18 @@ export default defineConfig({ }, { text: 'Contributing', - link: 'https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md', + link: 'https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md', }, { text: 'Support', - link: 'https://github.com/agnyz/elysia-realworld-example-app/blob/main/SUPPORT.md', + link: 'https://github.com/agnyz/the-bed-stack/blob/main/SUPPORT.md', }, ], socialLinks: [ { icon: 'github', - link: 'https://github.com/agnyz/elysia-realworld-example-app', + link: 'https://github.com/agnyz/the-bed-stack', }, { icon: 'discord', @@ -96,8 +103,7 @@ export default defineConfig({ }, }, editLink: { - pattern: - 'https://github.com/agnyz/elysia-realworld-example-app/edit/main/docs/:path', + pattern: 'https://github.com/agnyz/the-bed-stack/edit/main/docs/:path', text: 'Edit this page on GitHub', }, }, diff --git a/docs/dev-container.md b/docs/dev-container.md index 5f881ff..9c1405d 100644 --- a/docs/dev-container.md +++ b/docs/dev-container.md @@ -19,12 +19,12 @@ For now, you must change "file sharing implementation" from **VirtioFS** to **gR ::: ::: info For now, you must _rebuild_ the container using `⌘` `⇧` `P` - → `Dev Containers: Rebuild Container` after building the container the first time. See [#55](https://github.com/agnyz/elysia-realworld-example-app/issues/55) for details; PRs welcome. + → `Dev Containers: Rebuild Container` after building the container the first time. See [#55](https://github.com/agnyz/the-bed-stack/issues/55) for details; PRs welcome. ::: @@ -33,8 +33,8 @@ For now, you must _rebuild_ the container using `⌘` `⇧` `P` 1. **Clone the repository** ```sh - $ gh repo clone agnyz/elysia-realworld-example-app - $ cd elysia-realworld-example-app + $ gh repo clone agnyz/the-bed-stack + $ cd the-bed-stack ``` 2. **Open the project in a dev container** @@ -47,4 +47,4 @@ For now, you must _rebuild_ the container using `⌘` `⇧` `P` ## What's Next? -* Please report any issues you encounter with the dev container in [GitHub Issues, with the `devcontainers` label](https://github.com/agnyz/elysia-realworld-example-app/labels/devcontainers). \ No newline at end of file +* Please report any issues you encounter with the dev container in [GitHub Issues, with the `devcontainers` label](https://github.com/agnyz/the-bed-stack/labels/devcontainers). \ No newline at end of file diff --git a/docs/getting-started.md b/docs/getting-started.md index f32f576..82ca9ac 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -1,11 +1,11 @@ # Getting Started ::: info -We are working on a [dev container](https://code.visualstudio.com/docs/remote/containers) experience for ElysiaJS RealWorld. It should make the onboarding process much easier. See progress in [Developing in a Dev Container](./dev-container.md). +We are working on a [dev container](https://code.visualstudio.com/docs/remote/containers) experience for The Bed Stack. It should make the onboarding process much easier. See progress in [Developing in a Dev Container](./dev-container.md). ::: -Getting started with this project is as easy as installing a few prerequisites, running a few commands, and opening your favorite text editor. We'd love to have you [contribute](https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md) to this project. If you have any questions, please reach out on [Discord](https://discord.gg/PH4rBdTU) or [GitHub Discussions]( - https://github.com/agnyz/elysia-realworld-example-app/discussions +Getting started with this RealWorld project is as easy as installing a few prerequisites, running a few commands, and opening your favorite text editor. We'd love to have you [contribute](https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md) to this project. If you have any questions, please reach out on [Discord](https://discord.gg/PH4rBdTU) or [GitHub Discussions]( + https://github.com/agnyz/the-bed-stack/discussions )! ## Installation @@ -22,8 +22,8 @@ Getting started with this project is as easy as installing a few prerequisites, 1. **Clone and install dependencies** ```sh - $ gh repo clone agnyz/elysia-realworld-example-app - $ cd elysia-realworld-example-app + $ gh repo clone agnyz/the-bed-stack + $ cd the-bed-stack $ bun i ``` @@ -46,7 +46,7 @@ Getting started with this project is as easy as installing a few prerequisites, ## What's Next? -* Once you're ready to contribute, check out our [contributing guide](https://github.com/agnyz/elysia-realworld-example-app/blob/main/CONTRIBUTING.md). We're excited to have you! -* If you're looking for a place to start, check out our [good first issues](https://github.com/agnyz/elysia-realworld-example-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22). -* If you need support, check out our [support page](https://github.com/agnyz/elysia-realworld-example-app/blob/main/SUPPORT.md). -* If have any questions or just want to chat, join our [Discord server](https://discord.gg/PH4rBdTU) or [GitHub Discussions](https://github.com/agnyz/elysia-realworld-example-app/discussions). \ No newline at end of file +* Once you're ready to contribute, check out our [contributing guide](https://github.com/agnyz/the-bed-stack/blob/main/CONTRIBUTING.md). We're excited to have you! +* If you're looking for a place to start, check out our [good first issues](https://github.com/agnyz/the-bed-stack/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22). +* If you need support, check out our [support page](https://github.com/agnyz/the-bed-stack/blob/main/SUPPORT.md). +* If have any questions or just want to chat, join our [Discord server](https://discord.gg/PH4rBdTU) or [GitHub Discussions](https://github.com/agnyz/the-bed-stack/discussions). \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 886cbd7..1a0a6bd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,16 +3,17 @@ layout: home hero: - name: ElysiaJS RealWorld - text: Bun + ElysiaJS + DrizzleORM in the RealWorld - tagline: An exemplary app in the backend, crafted with Bun, ElysiaJS, and DrizzleORM, abiding by the RealWorld spec and API. + name: The BED Stack + text: Bun + ElysiaJS + DrizzleORM RealWorld Example + tagline: Example app crafted with bleeding-edge backend technologies by RealWorld API specification. actions: - theme: brand text: Get Started link: /getting-started - theme: alt text: View on GitHub - link: https://github.com/agnyz/elysia-realworld-example-app + link: https://github.com/agnyz/the-bed-stack + image: /logo-mini.png features: - title: Bun @@ -29,3 +30,25 @@ features: --- + + \ No newline at end of file diff --git a/docs/public/icon-dark.svg b/docs/public/icon-dark.svg new file mode 100644 index 0000000..01d261c --- /dev/null +++ b/docs/public/icon-dark.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/public/icon-light.svg b/docs/public/icon-light.svg new file mode 100644 index 0000000..06fdb0f --- /dev/null +++ b/docs/public/icon-light.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/public/logo-mini.png b/docs/public/logo-mini.png new file mode 100644 index 0000000..f73771b Binary files /dev/null and b/docs/public/logo-mini.png differ diff --git a/docs/what-is-elysiajs-realworld.md b/docs/what-is-the-bed-stack.md similarity index 68% rename from docs/what-is-elysiajs-realworld.md rename to docs/what-is-the-bed-stack.md index a65e4dc..d66f6e8 100644 --- a/docs/what-is-elysiajs-realworld.md +++ b/docs/what-is-the-bed-stack.md @@ -1,10 +1,22 @@ -# What is ElysiaJS RealWorld? +# What is The BED Stack? -ElysiaJS RealWorld is a project in the [RealWorld]( +The BED Stack is a tech stack for bleeding-edge tech stack for building backend applications with TypeScript. It's an acronym for **B**un + **E**lysiaJS + **D**rizzleORM. + +Its core philosophy is simplicity on the surface with immense power underneath; it will make you [fall into the pit of success](https://blog.codinghorror.com/falling-into-the-pit-of-success/). It is typesafe by default, and flexible enough to handle complex use cases as demonstrated by this [RealWorld]( https://github.com/gothinkster/realworld -) family of projects. It's an implementation of the [RealWorld backend spec]( +) example project. + +This project is an implementation of the [RealWorld backend spec]( https://www.realworld.how/docs/specs/backend-specs/introduction -), crafted with the following key technologies: +). By design, it is completely interchangeable with any of the other [backend implementations]( + https://codebase.show/projects/realworld?category=backend&language=typescript +) in the RealWorld family, and can be used with any of the RealWorld [frontend implementations]( + https://codebase.show/projects/realworld?category=frontend +). + +## Core technologies + +We carefully chose some of the latest and greatest technologies from the bleeding edge that share our core philosophy. They are: * **[Bun](https://bun.sh/)** - All-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager. @@ -28,4 +40,4 @@ We wanted to put it to the test. We thought: > What better way to test a new tool than to implement a RealWorld app with it? -We chose other tools on the bleeding edge that have been specifically designed with Bun in mind, like [ElysiaJS](https://elysiajs.com/) and [DrizzleORM](https://orm.drizzle.team/). We wanted to see how they would work together, and how they compare to other implementations in the RealWorld family. \ No newline at end of file +We chose other tools on the bleeding edge that have been specifically designed with Bun in mind, like [ElysiaJS](https://elysiajs.com/) and [DrizzleORM](https://orm.drizzle.team/). We wanted to see how they would work together, and how they compare to other implementations in the RealWorld family. diff --git a/logo.png b/logo.png index 3410641..e4f98a5 100644 Binary files a/logo.png and b/logo.png differ diff --git a/package.json b/package.json index 8bc8f61..afeee00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "elysia-realworld-example-app", - "title": "ElysiaJS RealWorld", + "name": "the-bed-stack", + "title": "The BED Stack", "version": "0.1.0", "description": "A RealWorld example for an app in the backend created with Bun, Elysia, and DrizzleORM.", "scripts": {