-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] 2025 09 update #33
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
Draft
k1eu
wants to merge
38
commits into
main
Choose a base branch
from
2025-09-update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 31 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
11c4561
wip #1 new app
k1eu c514bfc
init new fe
k1eu 38c8eac
cleanup and move to betterauth
k1eu 7cd41f5
move landing and deps to new react19 app
k1eu e11e175
--wip-- [skip ci]
k1eu be84bd9
remove old web
k1eu d06a1d1
auth pages
k1eu 22accc7
add google workflow
k1eu 86229e8
react mail integration
k1eu 10b28bd
add vitest fe testing
k1eu 5d10b9b
add logger
k1eu 83f5166
email confirm
k1eu 16470a9
setup vitest be
k1eu 41f7d36
chore: remove jest remainings
k1eu aa5f068
add test setup scripts
k1eu 23edc56
imoprt tests
k1eu 7270040
rename web app directory
k1eu 79ff49d
chore: move to single database instead of testcontainers
k1eu 2281f1d
chore: update readme
k1eu 5315bef
chore: add swagger generation types
k1eu f958f0f
init file structure
k1eu bd31c2e
file upload
k1eu 9f4d2e2
file migration db
k1eu c1e55db
chore: update modules
k1eu 56c7cf9
docs: update changelog
k1eu cc79c10
clean file api - no repo
k1eu 7377f1f
add self better auth instance handling
k1eu 320fede
setup landing
k1eu fb4367f
rename remix to react instances
k1eu 0d881f3
add admin plguin and migration
k1eu 642a96d
add admin users list
k1eu d09df84
bump vite
k1eu 9a494e2
add missing env example
k1eu 190b0b0
update readme
k1eu 8bab0d3
update file adapter
k1eu de85dae
update eslint
k1eu d5d811f
setup actions
k1eu 560421b
feat: forgot password mails
k1eu 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
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 |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| build/ | ||
| ignore/ |
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
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 |
|---|---|---|
| @@ -1,5 +1,23 @@ | ||
|
|
||
| # Release Notes | ||
|
|
||
| ## v1.1.0 2025-09 | ||
| - Migrate to React Router 7 from Remix | ||
| - Upgrade to React 19 | ||
| - Upgrade to React Email 4 | ||
| - Upgrade to Tailwind v4 | ||
| - Add login page | ||
| - Remove self written Auth | ||
| - Add Better Auth with social sign ins flow | ||
| - Upgrade to Node 24 | ||
| - Switch to SWC in NestJS | ||
| - Switch from Jest to Vitest in NestJS | ||
| - | ||
|
|
||
| ## v1.0.0 - 2024-09 | ||
| - Release | ||
| - React Recipes | ||
| - Developer Recipes | ||
|
|
||
| ## v0.0.1 | ||
| - Create repository |
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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| nodejs 20.15.0 | ||
| nodejs 24.8.0 |
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,34 @@ | ||
| # Repository Guidelines | ||
|
|
||
| ## Project Structure & Module Organization | ||
| - `apps/api`: NestJS backend; feature folders (e.g., `users`, `common`, `storage`) hold modules, DTOs, and shared helpers. `test/` contains Jest setups and factories for unit/e2e specs. | ||
| - `apps/web-app`: React Router 7 frontend; UI primitives in `app/components`, domain logic in `app/modules`, routes and layouts have `name.page.tsx` and `name.layout.tsx` convention in modules and API adapters in `app/api`. | ||
| - `apps/reverse-proxy`: Caddy config enabling HTTPS domains during local development. | ||
| - `packages/`: `email-templates` builds transactional mails, `eslint-config` centralizes lint rules, and `typescript-config` exposes reusable tsconfig bases.dist/`. | ||
|
|
||
| ## Build, Test, and Development Commands | ||
| - Install deps: `pnpm install` (Node 22+, pnpm 10). | ||
| - Start everything: `pnpm dev`; build all workspaces: `pnpm build`. | ||
| - Focused dev: `pnpm --filter api dev` for the API, `pnpm --filter guidebook-web-app dev` for the frontend, `pnpm --filter reverse-proxy dev` when reloading Caddy. | ||
| - Database: `pnpm db:generate` then rename the migration and sync its `tag` in `apps/api/src/storage/migrations/meta/_journal.json`; apply with `pnpm db:migrate`. | ||
| - Tooling extras: `pnpm generate:client` refreshes the Swagger client, `pnpm lint` and `pnpm format` keep standards aligned. | ||
|
|
||
| ## Coding Style & Naming Conventions | ||
| - TypeScript with 2-space indentation everywhere; Prettier governs formatting and ESLint extends `@repo/eslint-config` plus NestJS/React best practices. | ||
| - Nest classes (`UsersService`, `AuthModule`) use PascalCase filenames; utilities and constants stay camelCase. | ||
| - Frontend components exported from `app/components` and `app/modules` use PascalCase; hooks live under `hooks` with `useX` naming. | ||
| - Never commit `.env` files; derive them from each app’s `.env.example`. | ||
|
|
||
| ## Testing Guidelines | ||
| - API unit tests: `pnpm test:api`; coverage: `pnpm --filter api test:cov`. Prefer colocated `*.spec.ts` inside feature folders. | ||
| - API e2e: `pnpm test:api:e2e` (uses the Testcontainers helpers in `apps/api/test`). | ||
| - Frontend unit tests: `pnpm test:web`; browser-style e2e via `pnpm test:web:e2e`. Snapshot assertions belong under `app/tests`. | ||
|
|
||
| ## Commit & Pull Request Guidelines | ||
| - Commits stay small, imperative, and scoped using conventional commits format (e.g., `feat: add logger transport`); include migration or config notes in the body when relevant. | ||
| - Reference tickets with `Refs #123` or link to Notion tasks in the PR description. | ||
| - PRs must outline the change, list executed commands, attach UI/API screenshots when behavior shifts, and flag new env vars or migrations. | ||
|
|
||
| ## Environment & Security Tips | ||
| - Initialize services with `docker-compose up -d` before running migrations; seed data through `pnpm --filter api db:seed` when needed. | ||
| - Store secrets in untracked `.env.local` files |
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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.