From 572763b70ad3c28425392df610d4489fff96c50f Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Mon, 24 Jul 2023 20:27:05 +0200 Subject: [PATCH 1/4] docs: Update file structure --- docs/docs/tutorial/chapter1/file-structure.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/docs/tutorial/chapter1/file-structure.md b/docs/docs/tutorial/chapter1/file-structure.md index f7174fac9de7..c3a6d2693d22 100644 --- a/docs/docs/tutorial/chapter1/file-structure.md +++ b/docs/docs/tutorial/chapter1/file-structure.md @@ -16,10 +16,18 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ ├── db │ │ └── schema.prisma │ ├── dist +│ ├── jest.config.js +│ ├── jsconfig.json +│ ├── package.json +│ ├── server.config.js │ ├── src │ │ ├── directives │ │ │ ├── requireAuth +│ │ │ │ ├── requireAuth.js +│ │ │ │ └── requireAuth.test.js │ │ │ └── skipAuth +│ │ │ │ ├── skipAuth.js +│ │ │ │ └── skipAuth.test.js │ │ ├── functions │ │ │ └── graphql.js │ │ ├── graphql @@ -29,11 +37,17 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ │ │ └── logger.js │ │ └── services │ └── types +│ └── graphql.d.ts │ ├── scripts +│ ├── jsconfig.json │ └── seed.js │ └── web +│ ├── dist +│ ├── jest.config.js +│ ├── jsconfig.json +│ ├── package.json ├── public │ ├── favicon.png │ ├── README.md From b2ee1c4a3f44cbbd89c00be5d386b5615077a7b3 Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Mon, 24 Jul 2023 20:37:33 +0200 Subject: [PATCH 2/4] Add entry.client.jsx --- docs/docs/tutorial/chapter1/file-structure.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/docs/tutorial/chapter1/file-structure.md b/docs/docs/tutorial/chapter1/file-structure.md index c3a6d2693d22..4237937e283b 100644 --- a/docs/docs/tutorial/chapter1/file-structure.md +++ b/docs/docs/tutorial/chapter1/file-structure.md @@ -44,10 +44,10 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ └── seed.js │ └── web -│ ├── dist -│ ├── jest.config.js -│ ├── jsconfig.json -│ ├── package.json + ├── dist + ├── jest.config.js + ├── jsconfig.json + ├── package.json ├── public │ ├── favicon.png │ ├── README.md @@ -61,6 +61,7 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ └── NotFoundPage │ └── NotFoundPage.jsx ├── App.jsx + ├── entry.client.jsx ├── index.css ├── index.html └── Routes.jsx From 20e2834947bfc9b28f0469ff7453c0d02c4c4307 Mon Sep 17 00:00:00 2001 From: Dominic Saadi Date: Mon, 24 Jul 2023 16:42:51 -0700 Subject: [PATCH 3/4] remove config files --- docs/docs/tutorial/chapter1/file-structure.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/docs/tutorial/chapter1/file-structure.md b/docs/docs/tutorial/chapter1/file-structure.md index 4237937e283b..63a1debe5ce8 100644 --- a/docs/docs/tutorial/chapter1/file-structure.md +++ b/docs/docs/tutorial/chapter1/file-structure.md @@ -16,10 +16,6 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ ├── db │ │ └── schema.prisma │ ├── dist -│ ├── jest.config.js -│ ├── jsconfig.json -│ ├── package.json -│ ├── server.config.js │ ├── src │ │ ├── directives │ │ │ ├── requireAuth @@ -40,14 +36,10 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ └── graphql.d.ts │ ├── scripts -│ ├── jsconfig.json │ └── seed.js │ └── web ├── dist - ├── jest.config.js - ├── jsconfig.json - ├── package.json ├── public │ ├── favicon.png │ ├── README.md From 56e84b353cd50ab61f57fa95bade2d425e62256a Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Fri, 28 Jul 2023 00:35:27 +0200 Subject: [PATCH 4/4] Update file structure after review comments --- docs/docs/tutorial/chapter1/file-structure.md | 59 ++++++++----------- 1 file changed, 25 insertions(+), 34 deletions(-) diff --git a/docs/docs/tutorial/chapter1/file-structure.md b/docs/docs/tutorial/chapter1/file-structure.md index 63a1debe5ce8..90446b15d8bb 100644 --- a/docs/docs/tutorial/chapter1/file-structure.md +++ b/docs/docs/tutorial/chapter1/file-structure.md @@ -15,31 +15,23 @@ Don't worry about trying to memorize this directory structure right now, it's ju ├── api │ ├── db │ │ └── schema.prisma -│ ├── dist -│ ├── src -│ │ ├── directives -│ │ │ ├── requireAuth -│ │ │ │ ├── requireAuth.js -│ │ │ │ └── requireAuth.test.js -│ │ │ └── skipAuth -│ │ │ │ ├── skipAuth.js -│ │ │ │ └── skipAuth.test.js -│ │ ├── functions -│ │ │ └── graphql.js -│ │ ├── graphql -│ │ ├── lib -│ │ │ ├── auth.js -│ │ │ ├── db.js -│ │ │ └── logger.js -│ │ └── services -│ └── types -│ └── graphql.d.ts +│ └── src +│ ├── directives +│ │ ├── requireAuth +│ │ └── skipAuth +│ ├── functions +│ │ └── graphql.js +│ ├── graphql +│ ├── lib +│ │ ├── auth.js +│ │ ├── db.js +│ │ └── logger.js +│ └── services │ ├── scripts │ └── seed.js │ └── web - ├── dist ├── public │ ├── favicon.png │ ├── README.md @@ -66,20 +58,18 @@ Don't worry about trying to memorize this directory structure right now, it's ju ├── api │ ├── db │ │ └── schema.prisma -│ ├── dist -│ ├── src -│ │ ├── directives -│ │ │ ├── requireAuth -│ │ │ └── skipAuth -│ │ ├── functions -│ │ │ └── graphql.ts -│ │ ├── graphql -│ │ ├── lib -│ │ │ ├── auth.ts -│ │ │ ├── db.ts -│ │ │ └── logger.ts -│ │ └── services -│ └── types +│ └── src +│ ├── directives +│ │ ├── requireAuth +│ │ └── skipAuth +│ ├── functions +│ │ └── graphql.ts +│ ├── graphql +│ ├── lib +│ │ ├── auth.ts +│ │ ├── db.ts +│ │ └── logger.ts +│ └── services │ ├── scripts │ └── seed.ts @@ -98,6 +88,7 @@ Don't worry about trying to memorize this directory structure right now, it's ju │ └── NotFoundPage │ └── NotFoundPage.tsx ├── App.tsx + ├── entry.client.tsx ├── index.css ├── index.html └── Routes.tsx