Skip to content

Commit 3b30a67

Browse files
authored
starter kit V2 (#43)
*Description of changes:* This PR introduces a v2 starter kit using: * CloudFront + Lambda fURL + Lambda Web Adapter * Aurora Serverless v2 + Prisma ORM * Next.js v15 * Amplify Cognito libraries * Next safe action By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent e9c68e4 commit 3b30a67

103 files changed

Lines changed: 14443 additions & 27869 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,22 @@ jobs:
88
- name: Use Node.js
99
uses: actions/setup-node@v1
1010
with:
11-
node-version: "16.x"
11+
node-version: "22.x"
1212
- run: |
1313
npm ci
1414
npm run build
1515
npm run test
1616
working-directory: ./cdk
17-
Build-and-Test-Backend:
17+
Build-and-Test-Webapp:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Use Node.js
2222
uses: actions/setup-node@v1
2323
with:
24-
node-version: "16.x"
24+
node-version: "22.x"
2525
- run: |
2626
npm ci
27+
cp .env.local.example .env.local
2728
npm run build
28-
working-directory: ./backend
29-
Build-and-Test-Frontend:
30-
runs-on: ubuntu-latest
31-
steps:
32-
- uses: actions/checkout@v2
33-
- name: Use Node.js
34-
uses: actions/setup-node@v1
35-
with:
36-
node-version: "16.x"
37-
- run: |
38-
npm ci
39-
npm run build
40-
working-directory: ./frontend
29+
working-directory: ./webapp

backend/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

backend/Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

backend/README.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

backend/app.local.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

backend/apps/authenticated.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

backend/apps/base.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

backend/apps/local.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

backend/apps/public.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

backend/common/dynamodb.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)