Skip to content

Commit 0c99853

Browse files
committed
docs: update project structure
1 parent af37c50 commit 0c99853

File tree

4 files changed

+25
-30
lines changed

4 files changed

+25
-30
lines changed

src/content/docs/docs/project-walkthrough/backend/auth-identity.mdx

+5-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ The User Pool only stores user information required for authentication. All othe
2020
- cognito-post-confirmation.ts
2121
- cognito-pre-signup.test.ts
2222
- cognito-pre-signup.ts
23-
- controllers
24-
- user.ts
25-
- models
26-
- User.ts
23+
- api
24+
- controllers
25+
- user.ts
26+
- models
27+
- User.ts
2728
- cdk # see the [Cloud Infrastructure](./cloud-infrastructure#auth) guide for more details
2829
- lib
2930
- constructs

src/content/docs/docs/project-walkthrough/backend/database.mdx

+9-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ Code Genie projects include an infinitely scalable Serverless Database using [AW
1111

1212
<FileTree>
1313
- packages
14-
- controllers
15-
- user.ts
16-
- widget.ts
17-
- models
18-
- User.ts
19-
- Widget.ts
20-
- utils
21-
dynamodb.ts
14+
- api
15+
- controllers
16+
- user.ts
17+
- widget.ts
18+
- models
19+
- User.ts
20+
- Widget.ts
21+
- utils
22+
dynamodb.ts
2223
- cdk # see the [Cloud Infrastructure](./cloud-infrastructure#database) guide for more details
2324
- lib
2425
- constructs

src/content/docs/docs/project-walkthrough/backend/overview.mdx

+11-8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ The backend utilizes the following core services, libraries, and frameworks:
3333
<FileTree>
3434
- packages
3535
- api
36+
- controllers
37+
- user.ts
38+
- models
39+
- User.ts
40+
- errors
41+
- BadRequestError.ts
42+
- BaseError.ts
43+
- index.ts
44+
- NotFoundError.ts
45+
- UnauthenticatedError.ts
46+
- UserInputError.ts
3647
- routes
3748
- apps.ts
3849
- me.ts
@@ -77,17 +88,9 @@ The backend utilizes the following core services, libraries, and frameworks:
7788
- package-lock.json
7889
- package.json
7990
- tsconfig.json
80-
- controllers
81-
- user.ts
82-
- models
83-
- User.ts
8491
- cognito
8592
- cognito-post-confirmation.test.ts
8693
- cognito-post-confirmation.ts
8794
- cognito-pre-signup.test.ts
8895
- cognito-pre-signup.ts
89-
- controllers
90-
- user.ts
91-
- models
92-
- User.ts
9396
</FileTree>

src/content/docs/docs/project-walkthrough/overview.mdx

-10
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,8 @@ Below is a high-level view of the overall project structure. In the following gu
2626
- ...
2727
- cognito
2828
- ...
29-
- common
30-
- ...
31-
- controllers
32-
- ...
33-
- errors
34-
- ...
35-
- models
36-
- ...
3729
- ui
3830
- ...
39-
- utils
40-
- ...
4131
- README.md
4232
- package.json
4333
- ...

0 commit comments

Comments
 (0)