├── .gitignore ├── README.md ├── assets └── photos │ ├── 00100.jpg │ ├── 00101.jpg │ ├── 00102.jpg │ ├── 00103.jpg │ ├── 00104.jpg │ ├── 00105.jpg │ ├── 00200.jpg │ ├── 00201.jpg │ ├── 00202.jpg │ ├── 00203.jpg │ ├── 00204.jpg │ ├── 00205.jpg │ ├── 00206.jpg │ ├── 00207.jpg │ ├── 00208.jpg │ ├── 00209.jpg │ ├── 00210.jpg │ ├── 00300.jpg │ ├── 00301.jpg │ ├── 00302.jpg │ ├── 00400.jpg │ ├── 00401.jpg │ ├── 00402.jpg │ ├── 00404.jpg │ ├── 00406.jpg │ ├── 00500.jpg │ ├── 00501.jpg │ ├── 00502.jpg │ ├── 00503.jpg │ ├── 00504.jpg │ ├── 00505.jpg │ ├── 00600.jpg │ ├── 00700.jpg │ ├── 00701.jpg │ ├── 00702.jpg │ ├── 00703.jpg │ ├── 00704.jpg │ ├── 00705.jpg │ ├── 00706.jpg │ ├── 00800.jpg │ ├── 00801.jpg │ ├── 00802.jpg │ ├── 00803.jpg │ ├── 00804.jpg │ ├── 00805.jpg │ ├── 00900.jpg │ ├── 00901.jpg │ ├── 00902.jpg │ ├── 01000.jpg │ ├── 01001.jpg │ ├── 01100.jpg │ ├── 01101.jpg │ ├── 01102.jpg │ ├── 01200.jpg │ ├── 01201.jpg │ ├── 01202.jpg │ ├── 01300.jpg │ ├── 01301.jpg │ ├── 01302.jpg │ ├── 01400.jpg │ ├── 01401.jpg │ ├── 01402.jpg │ ├── 01403.jpg │ ├── 01404.jpg │ ├── 01405.jpg │ ├── 01406.jpg │ ├── 01407.jpg │ ├── 01500.jpg │ ├── 01501.jpg │ ├── 01502.jpg │ ├── 01503.jpg │ ├── 01504.jpg │ ├── 01505.jpg │ ├── 01506.jpg │ ├── 01507.jpg │ ├── 01508.jpg │ ├── 01509.jpg │ ├── 01510.jpg │ ├── 01511.jpg │ ├── 01512.jpg │ ├── 01513.jpg │ ├── 01514.jpg │ ├── 01515.jpg │ ├── 01516.jpg │ ├── 01517.jpg │ ├── 01518.jpg │ ├── 01519.jpg │ └── 01520.jpg ├── docker-compose.yaml ├── package.json └── packages ├── sns-api-1 ├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.mjs ├── package.json ├── src │ ├── _mock │ │ ├── categories.ts │ │ ├── comments.ts │ │ ├── index.ts │ │ └── photos.ts │ ├── app │ │ └── api │ │ │ ├── categories │ │ │ ├── [categoryName] │ │ │ │ └── route.ts │ │ │ ├── id │ │ │ │ └── [categoryId] │ │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ │ └── photos │ │ │ ├── [photoId] │ │ │ ├── comments │ │ │ │ └── route.ts │ │ │ ├── edit │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ │ └── route.ts │ └── lib │ │ └── util │ │ └── index.ts └── tsconfig.json ├── sns-api-2 ├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.mjs ├── package-lock.json ├── package.json ├── prisma │ ├── migrations │ │ ├── 20231111115350_init │ │ │ └── migration.sql │ │ └── migration_lock.toml │ ├── schema.prisma │ └── seed │ │ ├── category │ │ ├── fixture.json │ │ └── index.ts │ │ ├── comment │ │ ├── fixture.json │ │ └── index.ts │ │ ├── index.ts │ │ ├── like │ │ ├── fixture.json │ │ └── index.ts │ │ └── photo │ │ ├── fixture.json │ │ └── index.ts ├── src │ ├── app │ │ └── api │ │ │ ├── categories │ │ │ ├── [categoryName] │ │ │ │ └── route.ts │ │ │ ├── id │ │ │ │ └── [categoryId] │ │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ │ └── photos │ │ │ ├── [photoId] │ │ │ ├── comments │ │ │ │ └── route.ts │ │ │ ├── edit │ │ │ │ └── route.ts │ │ │ ├── like │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ │ └── route.ts │ └── lib │ │ ├── prisma │ │ └── index.ts │ │ └── util │ │ ├── index.ts │ │ └── pagination.ts └── tsconfig.json ├── sns-shared-ui ├── .eslintrc.json ├── .gitignore ├── .storybook │ ├── main.ts │ └── preview.ts ├── env.d.ts ├── package.json ├── public │ └── images │ │ ├── account.svg │ │ └── photo-example.jpg ├── src │ ├── components │ │ ├── Account │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Accounts │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── AlertDialogModal │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── AlertLabel │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── AlertText │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Avatar │ │ │ ├── assets │ │ │ │ └── account.svg │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Button │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── ButtonCircle │ │ │ ├── assets │ │ │ │ └── plus.svg │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── CardContainer │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── CommentBox │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── HeadGroup │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Heading │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Icon │ │ │ ├── assets │ │ │ │ ├── account.svg │ │ │ │ ├── alert.svg │ │ │ │ ├── camera.svg │ │ │ │ ├── comments.svg │ │ │ │ ├── gear.svg │ │ │ │ ├── heart-border.svg │ │ │ │ ├── heart.svg │ │ │ │ ├── home.svg │ │ │ │ ├── paper-plane.svg │ │ │ │ ├── photos.svg │ │ │ │ ├── trash-box.svg │ │ │ │ ├── upload.svg │ │ │ │ ├── user.svg │ │ │ │ └── zoom.svg │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Label │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Layout │ │ │ ├── Container │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── Footer │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── Header │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── Main │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── Navigation │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── Root │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ └── index.tsx │ │ ├── LikeButton │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── LinkButton │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── LinkTag │ │ │ ├── index.stories.tsx │ │ │ └── index.tsx │ │ ├── LoadingModal │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── LoadingModule │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── LoadingSpinner │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── NotFound │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Pagination │ │ │ ├── assets │ │ │ │ ├── arrow-left.svg │ │ │ │ └── arrow-right.svg │ │ │ ├── index.tsx │ │ │ ├── pagination.ts │ │ │ └── style.module.css │ │ ├── PhotoCard │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── PhotoDndUploader │ │ │ ├── fns.ts │ │ │ └── index.tsx │ │ ├── ProfilePanel │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Section │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Select │ │ │ ├── assets │ │ │ │ └── arrow.svg │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── Tag │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── TextArea │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── TextField │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ └── Typography │ │ │ ├── index.stories.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ ├── globals.css │ └── index.tsx └── tsconfig.json ├── sns-web-1 ├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next-auth.d.ts ├── next.config.mjs ├── package.json ├── public │ ├── images │ │ ├── account.svg │ │ └── no-image.jpg │ ├── next.svg │ └── vercel.svg ├── src │ ├── _mock │ │ ├── README.md │ │ ├── index.ts │ │ ├── loginUser.ts │ │ ├── profiles.ts │ │ └── users.ts │ ├── app │ │ ├── (site) │ │ │ ├── _components │ │ │ │ ├── TopCategories │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ ├── TopPhotos │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ └── TopUsers │ │ │ │ │ └── index.tsx │ │ │ ├── categories │ │ │ │ ├── [categoryName] │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── style.module.css │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ ├── photos │ │ │ │ └── [photoId] │ │ │ │ │ ├── _components │ │ │ │ │ ├── PhotoHero │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── PhotoMain │ │ │ │ │ │ ├── CommentForm │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── state.ts │ │ │ │ │ │ ├── CommentList │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ ├── DeleteButtonContainer │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ │ ├── edit │ │ │ │ │ ├── _components │ │ │ │ │ │ └── PhotoForm │ │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ └── page.tsx │ │ │ │ │ └── page.tsx │ │ │ ├── profile │ │ │ │ ├── _components │ │ │ │ │ ├── MyProfilePanel │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ │ └── MyProfilePhotos │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ ├── edit │ │ │ │ │ ├── _components │ │ │ │ │ │ └── MyProfileEditPanel │ │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ │ ├── fns.ts │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ └── page.tsx │ │ │ │ └── page.tsx │ │ │ ├── style.module.css │ │ │ └── users │ │ │ │ └── [screenName] │ │ │ │ └── page.tsx │ │ ├── (static) │ │ │ ├── company-info │ │ │ │ ├── page.tsx │ │ │ │ └── style.module.css │ │ │ ├── layout.tsx │ │ │ └── privacy-policy │ │ │ │ ├── page.tsx │ │ │ │ └── style.module.css │ │ ├── _components │ │ │ ├── LayoutNavigation │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── ModalContainer │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── PhotoCreateForm │ │ │ │ ├── PhotoMeta │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── PhotoCreateModal │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── PhotoCreateModalContainer │ │ │ │ └── index.tsx │ │ │ ├── PhotoDeleteForm │ │ │ │ └── index.tsx │ │ │ ├── PhotoViewModal │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ └── PhotoViewModalContainer │ │ │ │ └── index.tsx │ │ ├── _hooks │ │ │ ├── useKey.ts │ │ │ ├── useModal.ts │ │ │ └── usePagination.ts │ │ ├── api │ │ │ ├── categories │ │ │ │ └── route.ts │ │ │ └── photos │ │ │ │ ├── [photoId] │ │ │ │ ├── like │ │ │ │ │ └── route.ts │ │ │ │ └── route.ts │ │ │ │ └── route.ts │ │ ├── favicon.ico │ │ ├── layout.tsx │ │ └── not-found.tsx │ ├── constants.ts │ └── services │ │ ├── deletePhoto │ │ └── index.ts │ │ ├── getCategories │ │ └── index.ts │ │ ├── getCategory │ │ └── index.ts │ │ ├── getCategoryById │ │ └── index.ts │ │ ├── getPhoto │ │ └── index.ts │ │ ├── getPhotoComments │ │ └── index.ts │ │ ├── getPhotos │ │ └── index.ts │ │ ├── index.ts │ │ ├── postPhotoComment │ │ └── index.ts │ │ ├── postPhotoEdit │ │ └── index.ts │ │ ├── postPhotos │ │ └── index.ts │ │ └── type.ts └── tsconfig.json ├── sns-web-2 ├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next-auth.d.ts ├── next.config.mjs ├── package.json ├── prisma │ ├── migrations │ │ ├── 20230727150734_init │ │ │ └── migration.sql │ │ ├── 20230727151352_test │ │ │ └── migration.sql │ │ └── migration_lock.toml │ ├── schema.prisma │ └── seed │ │ ├── account │ │ ├── fixture.json │ │ └── index.ts │ │ ├── index.ts │ │ ├── profile │ │ ├── fixture.json │ │ └── index.ts │ │ └── user │ │ ├── fixture.json │ │ └── index.ts ├── public │ ├── images │ │ └── account.svg │ ├── next.svg │ └── vercel.svg ├── src │ ├── app │ │ ├── (site) │ │ │ ├── _components │ │ │ │ ├── TopCategories │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ ├── TopPhotos │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ └── TopUsers │ │ │ │ │ └── index.tsx │ │ │ ├── categories │ │ │ │ ├── [categoryName] │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── style.module.css │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── not-found.tsx │ │ │ ├── page.tsx │ │ │ ├── photos │ │ │ │ └── [photoId] │ │ │ │ │ ├── _components │ │ │ │ │ ├── PhotoComment │ │ │ │ │ │ ├── CommentForm │ │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── state.ts │ │ │ │ │ │ ├── CommentList │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── PhotoHero │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── PhotoMeta │ │ │ │ │ │ ├── DeleteButtonContainer │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ │ ├── edit │ │ │ │ │ ├── _components │ │ │ │ │ │ └── PhotoForm │ │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ ├── state.ts │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── style.module.css │ │ │ ├── profile │ │ │ │ ├── _components │ │ │ │ │ ├── MyProfilePanel │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ │ └── MyProfilePhotos │ │ │ │ │ │ ├── ClientMyProfilePhotos.tsx │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ ├── edit │ │ │ │ │ ├── _components │ │ │ │ │ │ └── MyProfileEditPanel │ │ │ │ │ │ │ ├── MyProfileEditForm │ │ │ │ │ │ │ ├── EditAvatar │ │ │ │ │ │ │ │ ├── fns.ts │ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ │ ├── EditMeta │ │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ ├── state.ts │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── page.tsx │ │ │ │ └── page.tsx │ │ │ ├── style.module.css │ │ │ └── users │ │ │ │ └── [screenName] │ │ │ │ ├── dataFetch.ts │ │ │ │ └── page.tsx │ │ ├── (static) │ │ │ ├── company-info │ │ │ │ ├── page.tsx │ │ │ │ └── style.module.css │ │ │ ├── layout.tsx │ │ │ ├── not-found.tsx │ │ │ └── privacy-policy │ │ │ │ ├── page.tsx │ │ │ │ └── style.module.css │ │ ├── _components │ │ │ ├── LayoutNavigation │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── LikeButtonContainer │ │ │ │ └── index.tsx │ │ │ ├── ModalContainer │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── PhotoCreateForm │ │ │ │ ├── PhotoMeta │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── PhotoCreateModal │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── PhotoCreateModalContainer │ │ │ │ └── index.tsx │ │ │ ├── PhotoDeleteForm │ │ │ │ └── index.tsx │ │ │ ├── PhotoViewModal │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ └── PhotoViewModalContainer │ │ │ │ └── index.tsx │ │ ├── _hooks │ │ │ ├── useKey.ts │ │ │ ├── useModal.ts │ │ │ └── usePagination.ts │ │ ├── api │ │ │ ├── auth │ │ │ │ └── [...nextauth] │ │ │ │ │ └── route.ts │ │ │ ├── categories │ │ │ │ └── route.ts │ │ │ └── photos │ │ │ │ ├── [photoId] │ │ │ │ ├── like │ │ │ │ │ └── route.ts │ │ │ │ └── route.ts │ │ │ │ ├── route.ts │ │ │ │ └── upload │ │ │ │ └── route.ts │ │ ├── favicon.ico │ │ ├── global-error.tsx │ │ ├── layout.tsx │ │ └── not-found.tsx │ ├── constants.ts │ ├── lib │ │ ├── auth.ts │ │ ├── prisma.ts │ │ └── s3.ts │ ├── middleware.ts │ └── services │ │ ├── deletePhoto │ │ └── index.ts │ │ ├── getCategories │ │ └── index.ts │ │ ├── getCategory │ │ └── index.ts │ │ ├── getCategoryById │ │ └── index.ts │ │ ├── getPhoto │ │ └── index.ts │ │ ├── getPhotoComments │ │ └── index.ts │ │ ├── getPhotoLike │ │ └── index.ts │ │ ├── getPhotos │ │ └── index.ts │ │ ├── index.ts │ │ ├── postPhotoComment │ │ └── index.ts │ │ ├── postPhotoEdit │ │ └── index.ts │ │ ├── postPhotoLike │ │ └── index.ts │ │ ├── postPhotos │ │ └── index.ts │ │ └── type.ts └── tsconfig.json └── sns-web-3 ├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next-auth.d.ts ├── next.config.mjs ├── package.json ├── prisma ├── migrations │ ├── 20230727150734_init │ │ └── migration.sql │ ├── 20230727151352_test │ │ └── migration.sql │ └── migration_lock.toml ├── schema.prisma └── seed │ ├── account │ ├── fixture.json │ └── index.ts │ ├── index.ts │ ├── profile │ ├── fixture.json │ └── index.ts │ └── user │ ├── fixture.json │ └── index.ts ├── public ├── images │ └── account.svg ├── next.svg └── vercel.svg ├── src ├── app │ ├── (site) │ │ ├── @modal │ │ │ ├── (.)photos │ │ │ │ └── [photoId] │ │ │ │ │ └── view │ │ │ │ │ ├── LikeButtonForm │ │ │ │ │ ├── actions.ts │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── state.ts │ │ │ │ │ └── style.module.css │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── style.module.css │ │ │ ├── _components │ │ │ │ └── ModalOverlay │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ ├── default.tsx │ │ │ └── loading.tsx │ │ ├── _components │ │ │ ├── TopCategories │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── TopPhotos │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ └── TopUsers │ │ │ │ └── index.tsx │ │ ├── categories │ │ │ ├── [...segments] │ │ │ │ ├── page.tsx │ │ │ │ └── style.module.css │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── page.tsx │ │ ├── photos │ │ │ └── [photoId] │ │ │ │ ├── _components │ │ │ │ ├── PhotoComment │ │ │ │ │ ├── CommentForm │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── CommentList │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── style.module.css │ │ │ │ │ ├── action.ts │ │ │ │ │ ├── client.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── state.ts │ │ │ │ ├── PhotoHero │ │ │ │ │ ├── LikeButtonForm │ │ │ │ │ │ ├── actions.ts │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── state.ts │ │ │ │ │ └── index.tsx │ │ │ │ └── PhotoMeta │ │ │ │ │ ├── DeleteButtonContainer │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ ├── edit │ │ │ │ ├── _components │ │ │ │ │ └── PhotoForm │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ ├── schema.ts │ │ │ │ │ │ ├── state.ts │ │ │ │ │ │ ├── style.module.css │ │ │ │ │ │ └── validate.ts │ │ │ │ └── page.tsx │ │ │ │ ├── page.tsx │ │ │ │ ├── style.module.css │ │ │ │ └── view │ │ │ │ └── page.tsx │ │ ├── profile │ │ │ ├── _components │ │ │ │ ├── MyProfilePanel │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ │ └── MyProfilePhotos │ │ │ │ │ ├── ClientMyProfilePhotos.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── style.module.css │ │ │ ├── edit │ │ │ │ ├── _components │ │ │ │ │ └── MyProfileEditPanel │ │ │ │ │ │ ├── MyProfileEditForm │ │ │ │ │ │ ├── EditAvatar │ │ │ │ │ │ │ ├── fns.ts │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ ├── EditMeta │ │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ ├── action.ts │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ ├── state.ts │ │ │ │ │ │ └── style.module.css │ │ │ │ │ │ └── index.tsx │ │ │ │ └── page.tsx │ │ │ └── page.tsx │ │ ├── style.module.css │ │ └── users │ │ │ └── [screenName] │ │ │ ├── _components │ │ │ ├── UserPanel │ │ │ │ └── index.tsx │ │ │ └── UserPhotos │ │ │ │ └── index.tsx │ │ │ ├── dataFetch.ts │ │ │ └── page.tsx │ ├── (static) │ │ ├── company-info │ │ │ ├── page.tsx │ │ │ └── style.module.css │ │ ├── layout.tsx │ │ └── privacy-policy │ │ │ ├── page.tsx │ │ │ └── style.module.css │ ├── _components │ │ ├── ClientRootLayout │ │ │ └── index.tsx │ │ ├── LayoutHeader │ │ │ └── index.tsx │ │ ├── LayoutNavigation │ │ │ ├── ClientLayoutNavigation.tsx │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── ModalContainer │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── PhotoCreateForm │ │ │ ├── PhotoMeta │ │ │ │ ├── index.tsx │ │ │ │ └── style.module.css │ │ │ ├── actions.ts │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── PhotoCreateModal │ │ │ ├── index.tsx │ │ │ └── style.module.css │ │ ├── PhotoCreateModalContainer │ │ │ └── index.tsx │ │ ├── PhotoDeleteForm │ │ │ ├── actions.ts │ │ │ └── index.tsx │ │ └── PhotoViewNavigator │ │ │ ├── container.tsx │ │ │ ├── index.tsx │ │ │ └── provider.tsx │ ├── _hooks │ │ ├── useKey.ts │ │ ├── useModal.ts │ │ └── usePagination.ts │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.ts │ │ └── photos │ │ │ └── upload │ │ │ └── route.ts │ ├── error.tsx │ ├── favicon.ico │ ├── fonts.ts │ ├── layout.tsx │ └── not-found.tsx ├── constants.ts ├── lib │ ├── auth.ts │ ├── prisma.ts │ └── s3.ts ├── middleware.ts └── services │ ├── deletePhoto │ └── index.ts │ ├── getCategories │ └── index.ts │ ├── getCategory │ └── index.ts │ ├── getCategoryById │ └── index.ts │ ├── getPhoto │ └── index.ts │ ├── getPhotoComments │ └── index.ts │ ├── getPhotoLike │ └── index.ts │ ├── getPhotos │ └── index.ts │ ├── index.ts │ ├── postPhotoComment │ └── index.ts │ ├── postPhotoEdit │ └── index.ts │ ├── postPhotoLike │ └── index.ts │ ├── postPhotos │ └── index.ts │ └── type.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/README.md -------------------------------------------------------------------------------- /assets/photos/00100.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00100.jpg -------------------------------------------------------------------------------- /assets/photos/00101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00101.jpg -------------------------------------------------------------------------------- /assets/photos/00102.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00102.jpg -------------------------------------------------------------------------------- /assets/photos/00103.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00103.jpg -------------------------------------------------------------------------------- /assets/photos/00104.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00104.jpg -------------------------------------------------------------------------------- /assets/photos/00105.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00105.jpg -------------------------------------------------------------------------------- /assets/photos/00200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00200.jpg -------------------------------------------------------------------------------- /assets/photos/00201.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00201.jpg -------------------------------------------------------------------------------- /assets/photos/00202.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00202.jpg -------------------------------------------------------------------------------- /assets/photos/00203.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00203.jpg -------------------------------------------------------------------------------- /assets/photos/00204.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00204.jpg -------------------------------------------------------------------------------- /assets/photos/00205.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00205.jpg -------------------------------------------------------------------------------- /assets/photos/00206.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00206.jpg -------------------------------------------------------------------------------- /assets/photos/00207.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00207.jpg -------------------------------------------------------------------------------- /assets/photos/00208.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00208.jpg -------------------------------------------------------------------------------- /assets/photos/00209.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00209.jpg -------------------------------------------------------------------------------- /assets/photos/00210.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00210.jpg -------------------------------------------------------------------------------- /assets/photos/00300.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00300.jpg -------------------------------------------------------------------------------- /assets/photos/00301.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00301.jpg -------------------------------------------------------------------------------- /assets/photos/00302.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00302.jpg -------------------------------------------------------------------------------- /assets/photos/00400.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00400.jpg -------------------------------------------------------------------------------- /assets/photos/00401.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00401.jpg -------------------------------------------------------------------------------- /assets/photos/00402.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00402.jpg -------------------------------------------------------------------------------- /assets/photos/00404.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00404.jpg -------------------------------------------------------------------------------- /assets/photos/00406.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00406.jpg -------------------------------------------------------------------------------- /assets/photos/00500.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00500.jpg -------------------------------------------------------------------------------- /assets/photos/00501.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00501.jpg -------------------------------------------------------------------------------- /assets/photos/00502.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00502.jpg -------------------------------------------------------------------------------- /assets/photos/00503.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00503.jpg -------------------------------------------------------------------------------- /assets/photos/00504.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00504.jpg -------------------------------------------------------------------------------- /assets/photos/00505.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00505.jpg -------------------------------------------------------------------------------- /assets/photos/00600.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00600.jpg -------------------------------------------------------------------------------- /assets/photos/00700.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00700.jpg -------------------------------------------------------------------------------- /assets/photos/00701.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00701.jpg -------------------------------------------------------------------------------- /assets/photos/00702.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00702.jpg -------------------------------------------------------------------------------- /assets/photos/00703.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00703.jpg -------------------------------------------------------------------------------- /assets/photos/00704.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00704.jpg -------------------------------------------------------------------------------- /assets/photos/00705.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00705.jpg -------------------------------------------------------------------------------- /assets/photos/00706.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00706.jpg -------------------------------------------------------------------------------- /assets/photos/00800.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00800.jpg -------------------------------------------------------------------------------- /assets/photos/00801.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00801.jpg -------------------------------------------------------------------------------- /assets/photos/00802.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00802.jpg -------------------------------------------------------------------------------- /assets/photos/00803.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00803.jpg -------------------------------------------------------------------------------- /assets/photos/00804.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00804.jpg -------------------------------------------------------------------------------- /assets/photos/00805.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00805.jpg -------------------------------------------------------------------------------- /assets/photos/00900.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00900.jpg -------------------------------------------------------------------------------- /assets/photos/00901.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00901.jpg -------------------------------------------------------------------------------- /assets/photos/00902.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/00902.jpg -------------------------------------------------------------------------------- /assets/photos/01000.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01000.jpg -------------------------------------------------------------------------------- /assets/photos/01001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01001.jpg -------------------------------------------------------------------------------- /assets/photos/01100.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01100.jpg -------------------------------------------------------------------------------- /assets/photos/01101.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01101.jpg -------------------------------------------------------------------------------- /assets/photos/01102.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01102.jpg -------------------------------------------------------------------------------- /assets/photos/01200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01200.jpg -------------------------------------------------------------------------------- /assets/photos/01201.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01201.jpg -------------------------------------------------------------------------------- /assets/photos/01202.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01202.jpg -------------------------------------------------------------------------------- /assets/photos/01300.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01300.jpg -------------------------------------------------------------------------------- /assets/photos/01301.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01301.jpg -------------------------------------------------------------------------------- /assets/photos/01302.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01302.jpg -------------------------------------------------------------------------------- /assets/photos/01400.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01400.jpg -------------------------------------------------------------------------------- /assets/photos/01401.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01401.jpg -------------------------------------------------------------------------------- /assets/photos/01402.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01402.jpg -------------------------------------------------------------------------------- /assets/photos/01403.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01403.jpg -------------------------------------------------------------------------------- /assets/photos/01404.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01404.jpg -------------------------------------------------------------------------------- /assets/photos/01405.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01405.jpg -------------------------------------------------------------------------------- /assets/photos/01406.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01406.jpg -------------------------------------------------------------------------------- /assets/photos/01407.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01407.jpg -------------------------------------------------------------------------------- /assets/photos/01500.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01500.jpg -------------------------------------------------------------------------------- /assets/photos/01501.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01501.jpg -------------------------------------------------------------------------------- /assets/photos/01502.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01502.jpg -------------------------------------------------------------------------------- /assets/photos/01503.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01503.jpg -------------------------------------------------------------------------------- /assets/photos/01504.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01504.jpg -------------------------------------------------------------------------------- /assets/photos/01505.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01505.jpg -------------------------------------------------------------------------------- /assets/photos/01506.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01506.jpg -------------------------------------------------------------------------------- /assets/photos/01507.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01507.jpg -------------------------------------------------------------------------------- /assets/photos/01508.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01508.jpg -------------------------------------------------------------------------------- /assets/photos/01509.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01509.jpg -------------------------------------------------------------------------------- /assets/photos/01510.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01510.jpg -------------------------------------------------------------------------------- /assets/photos/01511.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01511.jpg -------------------------------------------------------------------------------- /assets/photos/01512.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01512.jpg -------------------------------------------------------------------------------- /assets/photos/01513.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01513.jpg -------------------------------------------------------------------------------- /assets/photos/01514.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01514.jpg -------------------------------------------------------------------------------- /assets/photos/01515.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01515.jpg -------------------------------------------------------------------------------- /assets/photos/01516.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01516.jpg -------------------------------------------------------------------------------- /assets/photos/01517.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01517.jpg -------------------------------------------------------------------------------- /assets/photos/01518.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01518.jpg -------------------------------------------------------------------------------- /assets/photos/01519.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01519.jpg -------------------------------------------------------------------------------- /assets/photos/01520.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/assets/photos/01520.jpg -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/package.json -------------------------------------------------------------------------------- /packages/sns-api-1/.env: -------------------------------------------------------------------------------- 1 | DATABASE_URL="postgresql://root:password@127.0.0.1:5433/app-db?schema=public" 2 | -------------------------------------------------------------------------------- /packages/sns-api-1/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/.eslintrc.json -------------------------------------------------------------------------------- /packages/sns-api-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/.gitignore -------------------------------------------------------------------------------- /packages/sns-api-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/README.md -------------------------------------------------------------------------------- /packages/sns-api-1/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/next.config.mjs -------------------------------------------------------------------------------- /packages/sns-api-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/package.json -------------------------------------------------------------------------------- /packages/sns-api-1/src/_mock/categories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/_mock/categories.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/_mock/comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/_mock/comments.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/_mock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/_mock/index.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/_mock/photos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/_mock/photos.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/categories/[categoryName]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/categories/[categoryName]/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/categories/id/[categoryId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/categories/id/[categoryId]/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/categories/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/categories/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/photos/[photoId]/comments/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/photos/[photoId]/comments/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/photos/[photoId]/edit/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/photos/[photoId]/edit/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/photos/[photoId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/photos/[photoId]/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/app/api/photos/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/app/api/photos/route.ts -------------------------------------------------------------------------------- /packages/sns-api-1/src/lib/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/src/lib/util/index.ts -------------------------------------------------------------------------------- /packages/sns-api-1/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-1/tsconfig.json -------------------------------------------------------------------------------- /packages/sns-api-2/.env: -------------------------------------------------------------------------------- 1 | DATABASE_URL="postgresql://root:password@127.0.0.1:5433/app-db?schema=public" 2 | -------------------------------------------------------------------------------- /packages/sns-api-2/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/.eslintrc.json -------------------------------------------------------------------------------- /packages/sns-api-2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/.gitignore -------------------------------------------------------------------------------- /packages/sns-api-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/README.md -------------------------------------------------------------------------------- /packages/sns-api-2/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/next.config.mjs -------------------------------------------------------------------------------- /packages/sns-api-2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/package-lock.json -------------------------------------------------------------------------------- /packages/sns-api-2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/package.json -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/migrations/20231111115350_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/migrations/20231111115350_init/migration.sql -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/schema.prisma -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/category/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/category/fixture.json -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/category/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/category/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/comment/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/comment/fixture.json -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/comment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/comment/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/like/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/like/fixture.json -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/like/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/like/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/photo/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/photo/fixture.json -------------------------------------------------------------------------------- /packages/sns-api-2/prisma/seed/photo/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/prisma/seed/photo/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/categories/[categoryName]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/categories/[categoryName]/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/categories/id/[categoryId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/categories/id/[categoryId]/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/categories/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/categories/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/photos/[photoId]/comments/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/photos/[photoId]/comments/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/photos/[photoId]/edit/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/photos/[photoId]/edit/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/photos/[photoId]/like/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/photos/[photoId]/like/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/photos/[photoId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/photos/[photoId]/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/app/api/photos/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/app/api/photos/route.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/lib/prisma/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/lib/prisma/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/lib/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/lib/util/index.ts -------------------------------------------------------------------------------- /packages/sns-api-2/src/lib/util/pagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/src/lib/util/pagination.ts -------------------------------------------------------------------------------- /packages/sns-api-2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-api-2/tsconfig.json -------------------------------------------------------------------------------- /packages/sns-shared-ui/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/.eslintrc.json -------------------------------------------------------------------------------- /packages/sns-shared-ui/.gitignore: -------------------------------------------------------------------------------- 1 | .rollup.cache 2 | dist -------------------------------------------------------------------------------- /packages/sns-shared-ui/.storybook/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/.storybook/main.ts -------------------------------------------------------------------------------- /packages/sns-shared-ui/.storybook/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/.storybook/preview.ts -------------------------------------------------------------------------------- /packages/sns-shared-ui/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/env.d.ts -------------------------------------------------------------------------------- /packages/sns-shared-ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/package.json -------------------------------------------------------------------------------- /packages/sns-shared-ui/public/images/account.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/public/images/account.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/public/images/photo-example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/public/images/photo-example.jpg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Account/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Account/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Account/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Account/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Account/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Account/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Accounts/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Accounts/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Accounts/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Accounts/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Accounts/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Accounts/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertDialogModal/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertDialogModal/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertDialogModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertDialogModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertDialogModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertDialogModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertLabel/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertLabel/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertLabel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertLabel/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertLabel/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertLabel/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertText/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertText/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertText/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/AlertText/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/AlertText/style.module.css: -------------------------------------------------------------------------------- 1 | .text { 2 | color: var(--orange-800); 3 | } -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Avatar/assets/account.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Avatar/assets/account.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Avatar/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Avatar/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Avatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Avatar/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Avatar/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Avatar/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Button/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Button/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Button/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Button/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Button/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ButtonCircle/assets/plus.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ButtonCircle/assets/plus.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ButtonCircle/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ButtonCircle/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ButtonCircle/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ButtonCircle/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ButtonCircle/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ButtonCircle/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/CardContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/CardContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/CardContainer/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/CardContainer/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/CommentBox/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/CommentBox/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/CommentBox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/CommentBox/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/CommentBox/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/CommentBox/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/HeadGroup/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/HeadGroup/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/HeadGroup/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/HeadGroup/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/HeadGroup/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/HeadGroup/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Heading/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Heading/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Heading/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Heading/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Heading/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Heading/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/account.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/account.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/alert.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/alert.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/camera.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/camera.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/comments.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/comments.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/gear.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/gear.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/heart-border.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/heart-border.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/heart.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/heart.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/home.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/home.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/paper-plane.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/paper-plane.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/photos.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/photos.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/trash-box.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/trash-box.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/upload.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/upload.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/user.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/user.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/assets/zoom.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/assets/zoom.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Icon/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Icon/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Label/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Label/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Label/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Label/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Label/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Label/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Container/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Container/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Container/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Container/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Footer/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Footer/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Footer/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Header/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Header/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Header/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Main/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Main/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Main/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Main/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Navigation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Navigation/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Navigation/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Navigation/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Root/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Root/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/Root/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/Root/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Layout/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LikeButton/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LikeButton/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LikeButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LikeButton/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LikeButton/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LikeButton/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LinkButton/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LinkButton/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LinkButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LinkButton/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LinkButton/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LinkButton/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LinkTag/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LinkTag/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LinkTag/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LinkTag/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingModal/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingModal/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingModule/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingModule/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingModule/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingModule/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingModule/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingModule/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingSpinner/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingSpinner/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingSpinner/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingSpinner/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/LoadingSpinner/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/LoadingSpinner/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/NotFound/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/NotFound/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/NotFound/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/NotFound/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Pagination/assets/arrow-left.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Pagination/assets/arrow-left.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Pagination/assets/arrow-right.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Pagination/assets/arrow-right.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Pagination/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Pagination/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Pagination/pagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Pagination/pagination.ts -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Pagination/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Pagination/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/PhotoCard/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/PhotoCard/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/PhotoCard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/PhotoCard/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/PhotoCard/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/PhotoCard/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/PhotoDndUploader/fns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/PhotoDndUploader/fns.ts -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/PhotoDndUploader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/PhotoDndUploader/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ProfilePanel/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ProfilePanel/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ProfilePanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ProfilePanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/ProfilePanel/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/ProfilePanel/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Section/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Section/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Section/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Section/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Section/style.module.css: -------------------------------------------------------------------------------- 1 | .section { 2 | padding: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Select/assets/arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Select/assets/arrow.svg -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Select/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Select/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Select/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Select/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Select/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Select/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Tag/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Tag/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Tag/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Tag/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Tag/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Tag/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/TextArea/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/TextArea/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/TextArea/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/TextArea/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/TextArea/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/TextArea/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/TextField/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/TextField/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/TextField/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/TextField/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/TextField/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/TextField/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Typography/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Typography/index.stories.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Typography/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Typography/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/components/Typography/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/components/Typography/style.module.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/globals.css -------------------------------------------------------------------------------- /packages/sns-shared-ui/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/src/index.tsx -------------------------------------------------------------------------------- /packages/sns-shared-ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-shared-ui/tsconfig.json -------------------------------------------------------------------------------- /packages/sns-web-1/.env: -------------------------------------------------------------------------------- 1 | API_HOST=http://localhost:8081 2 | -------------------------------------------------------------------------------- /packages/sns-web-1/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/.eslintrc.json -------------------------------------------------------------------------------- /packages/sns-web-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/.gitignore -------------------------------------------------------------------------------- /packages/sns-web-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/README.md -------------------------------------------------------------------------------- /packages/sns-web-1/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/next-auth.d.ts -------------------------------------------------------------------------------- /packages/sns-web-1/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/next.config.mjs -------------------------------------------------------------------------------- /packages/sns-web-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/package.json -------------------------------------------------------------------------------- /packages/sns-web-1/public/images/account.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/public/images/account.svg -------------------------------------------------------------------------------- /packages/sns-web-1/public/images/no-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/public/images/no-image.jpg -------------------------------------------------------------------------------- /packages/sns-web-1/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/public/next.svg -------------------------------------------------------------------------------- /packages/sns-web-1/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/public/vercel.svg -------------------------------------------------------------------------------- /packages/sns-web-1/src/_mock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/_mock/README.md -------------------------------------------------------------------------------- /packages/sns-web-1/src/_mock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/_mock/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/_mock/loginUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/_mock/loginUser.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/_mock/profiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/_mock/profiles.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/_mock/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/_mock/users.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/_components/TopCategories/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/_components/TopCategories/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/_components/TopCategories/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/_components/TopCategories/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/_components/TopPhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/_components/TopPhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/_components/TopPhotos/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/_components/TopPhotos/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/_components/TopUsers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/_components/TopUsers/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/categories/[categoryName]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/categories/[categoryName]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/categories/[categoryName]/style.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | padding-bottom: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/categories/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/categories/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoHero/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoHero/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentList/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentList/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentList/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/CommentList/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/DeleteButtonContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/DeleteButtonContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/_components/PhotoMain/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/edit/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/photos/[photoId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/photos/[photoId]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePanel/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePanel/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/_components/MyProfilePhotos/style.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | padding-bottom: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/action.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/fns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/fns.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/edit/_components/MyProfileEditPanel/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/edit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/edit/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/profile/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(site)/users/[screenName]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(site)/users/[screenName]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(static)/company-info/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(static)/company-info/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(static)/company-info/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(static)/company-info/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(static)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(static)/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(static)/privacy-policy/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(static)/privacy-policy/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/(static)/privacy-policy/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/(static)/privacy-policy/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/LayoutNavigation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/LayoutNavigation/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/LayoutNavigation/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/LayoutNavigation/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/ModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/ModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/ModalContainer/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/ModalContainer/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateForm/PhotoMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateForm/PhotoMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateForm/PhotoMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateForm/PhotoMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoCreateModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoCreateModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoDeleteForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoDeleteForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoViewModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoViewModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoViewModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoViewModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_components/PhotoViewModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_components/PhotoViewModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_hooks/useKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_hooks/useKey.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_hooks/useModal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_hooks/useModal.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/_hooks/usePagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/_hooks/usePagination.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/api/categories/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/api/categories/route.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/api/photos/[photoId]/like/route.ts: -------------------------------------------------------------------------------- 1 | export async function POST() { 2 | return Response.json({ liked: true }); 3 | } 4 | -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/api/photos/[photoId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/api/photos/[photoId]/route.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/api/photos/route.ts: -------------------------------------------------------------------------------- 1 | export async function POST() { 2 | return Response.json({ photo: "test" }); 3 | } 4 | -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/favicon.ico -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/app/not-found.tsx -------------------------------------------------------------------------------- /packages/sns-web-1/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/constants.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/deletePhoto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/deletePhoto/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/getCategories/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/getCategories/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/getCategory/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/getCategory/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/getCategoryById/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/getCategoryById/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/getPhoto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/getPhoto/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/getPhotoComments/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/getPhotoComments/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/getPhotos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/getPhotos/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/postPhotoComment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/postPhotoComment/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/postPhotoEdit/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/postPhotoEdit/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/postPhotos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/postPhotos/index.ts -------------------------------------------------------------------------------- /packages/sns-web-1/src/services/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/src/services/type.ts -------------------------------------------------------------------------------- /packages/sns-web-1/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-1/tsconfig.json -------------------------------------------------------------------------------- /packages/sns-web-2/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/.env -------------------------------------------------------------------------------- /packages/sns-web-2/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/.eslintrc.json -------------------------------------------------------------------------------- /packages/sns-web-2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/.gitignore -------------------------------------------------------------------------------- /packages/sns-web-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/README.md -------------------------------------------------------------------------------- /packages/sns-web-2/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/next-auth.d.ts -------------------------------------------------------------------------------- /packages/sns-web-2/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/next.config.mjs -------------------------------------------------------------------------------- /packages/sns-web-2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/package.json -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/migrations/20230727150734_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/migrations/20230727150734_init/migration.sql -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/migrations/20230727151352_test/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/migrations/20230727151352_test/migration.sql -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/schema.prisma -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/account/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/account/fixture.json -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/account/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/account/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/profile/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/profile/fixture.json -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/profile/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/profile/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/user/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/user/fixture.json -------------------------------------------------------------------------------- /packages/sns-web-2/prisma/seed/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/prisma/seed/user/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/public/images/account.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/public/images/account.svg -------------------------------------------------------------------------------- /packages/sns-web-2/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/public/next.svg -------------------------------------------------------------------------------- /packages/sns-web-2/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/public/vercel.svg -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/_components/TopCategories/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/_components/TopCategories/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/_components/TopCategories/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/_components/TopCategories/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/_components/TopPhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/_components/TopPhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/_components/TopPhotos/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/_components/TopPhotos/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/_components/TopUsers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/_components/TopUsers/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/categories/[categoryName]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/categories/[categoryName]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/categories/[categoryName]/style.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | padding-bottom: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/categories/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/categories/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/not-found.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoComment/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoHero/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoHero/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoMeta/DeleteButtonContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoMeta/DeleteButtonContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/_components/PhotoMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/edit/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/photos/[photoId]/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/photos/[photoId]/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePanel/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePanel/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePhotos/ClientMyProfilePhotos.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePhotos/ClientMyProfilePhotos.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/_components/MyProfilePhotos/style.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | padding-bottom: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/fns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/fns.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/_components/MyProfileEditPanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/edit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/edit/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/profile/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/users/[screenName]/dataFetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/users/[screenName]/dataFetch.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(site)/users/[screenName]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(site)/users/[screenName]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(static)/company-info/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(static)/company-info/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(static)/company-info/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(static)/company-info/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(static)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(static)/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(static)/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(static)/not-found.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(static)/privacy-policy/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(static)/privacy-policy/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/(static)/privacy-policy/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/(static)/privacy-policy/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/LayoutNavigation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/LayoutNavigation/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/LayoutNavigation/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/LayoutNavigation/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/LikeButtonContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/LikeButtonContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/ModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/ModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/ModalContainer/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/ModalContainer/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateForm/PhotoMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateForm/PhotoMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateForm/PhotoMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateForm/PhotoMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoCreateModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoCreateModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoDeleteForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoDeleteForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoViewModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoViewModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoViewModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoViewModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_components/PhotoViewModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_components/PhotoViewModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_hooks/useKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_hooks/useKey.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_hooks/useModal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_hooks/useModal.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/_hooks/usePagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/_hooks/usePagination.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/api/categories/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/api/categories/route.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/api/photos/[photoId]/like/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/api/photos/[photoId]/like/route.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/api/photos/[photoId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/api/photos/[photoId]/route.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/api/photos/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/api/photos/route.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/api/photos/upload/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/api/photos/upload/route.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/favicon.ico -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/global-error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/global-error.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/app/not-found.tsx -------------------------------------------------------------------------------- /packages/sns-web-2/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/constants.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/lib/auth.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/lib/prisma.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/lib/s3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/lib/s3.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/middleware.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/deletePhoto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/deletePhoto/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getCategories/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getCategories/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getCategory/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getCategory/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getCategoryById/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getCategoryById/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getPhoto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getPhoto/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getPhotoComments/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getPhotoComments/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getPhotoLike/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getPhotoLike/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/getPhotos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/getPhotos/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/postPhotoComment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/postPhotoComment/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/postPhotoEdit/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/postPhotoEdit/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/postPhotoLike/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/postPhotoLike/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/postPhotos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/postPhotos/index.ts -------------------------------------------------------------------------------- /packages/sns-web-2/src/services/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/src/services/type.ts -------------------------------------------------------------------------------- /packages/sns-web-2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-2/tsconfig.json -------------------------------------------------------------------------------- /packages/sns-web-3/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/.env -------------------------------------------------------------------------------- /packages/sns-web-3/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/.eslintrc.json -------------------------------------------------------------------------------- /packages/sns-web-3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/.gitignore -------------------------------------------------------------------------------- /packages/sns-web-3/README.md: -------------------------------------------------------------------------------- 1 | # PS-WEB/web-3 2 | 3 | Next.js ならではの機能を活用した App Router アプリサンプル 4 | -------------------------------------------------------------------------------- /packages/sns-web-3/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/next-auth.d.ts -------------------------------------------------------------------------------- /packages/sns-web-3/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/next.config.mjs -------------------------------------------------------------------------------- /packages/sns-web-3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/package.json -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/migrations/20230727150734_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/migrations/20230727150734_init/migration.sql -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/migrations/20230727151352_test/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/migrations/20230727151352_test/migration.sql -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/schema.prisma -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/account/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/account/fixture.json -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/account/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/account/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/profile/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/profile/fixture.json -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/profile/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/profile/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/user/fixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/user/fixture.json -------------------------------------------------------------------------------- /packages/sns-web-3/prisma/seed/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/prisma/seed/user/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/public/images/account.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/public/images/account.svg -------------------------------------------------------------------------------- /packages/sns-web-3/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/public/next.svg -------------------------------------------------------------------------------- /packages/sns-web-3/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/public/vercel.svg -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/actions.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/LikeButtonForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/(.)photos/[photoId]/view/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/_components/ModalOverlay/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/_components/ModalOverlay/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/_components/ModalOverlay/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/_components/ModalOverlay/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/default.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/default.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/@modal/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/@modal/loading.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/_components/TopCategories/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/_components/TopCategories/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/_components/TopCategories/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/_components/TopCategories/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/_components/TopPhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/_components/TopPhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/_components/TopPhotos/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/_components/TopPhotos/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/_components/TopUsers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/_components/TopUsers/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/categories/[...segments]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/categories/[...segments]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/categories/[...segments]/style.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | padding-bottom: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/categories/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/categories/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/CommentList/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/action.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/client.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoComment/state.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/LikeButtonForm/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/LikeButtonForm/actions.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/LikeButtonForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/LikeButtonForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/LikeButtonForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/LikeButtonForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoHero/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoMeta/DeleteButtonContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoMeta/DeleteButtonContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/_components/PhotoMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/schema.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/_components/PhotoForm/validate.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/edit/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/photos/[photoId]/view/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/photos/[photoId]/view/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePanel/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePanel/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePhotos/ClientMyProfilePhotos.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePhotos/ClientMyProfilePhotos.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/_components/MyProfilePhotos/style.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | padding-bottom: 16px; 3 | } -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/fns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/fns.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditAvatar/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/EditMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/action.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/state.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/MyProfileEditForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/_components/MyProfileEditPanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/edit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/edit/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/profile/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/users/[screenName]/_components/UserPanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/users/[screenName]/_components/UserPanel/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/users/[screenName]/_components/UserPhotos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/users/[screenName]/_components/UserPhotos/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/users/[screenName]/dataFetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/users/[screenName]/dataFetch.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(site)/users/[screenName]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(site)/users/[screenName]/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(static)/company-info/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(static)/company-info/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(static)/company-info/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(static)/company-info/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(static)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(static)/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(static)/privacy-policy/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(static)/privacy-policy/page.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/(static)/privacy-policy/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/(static)/privacy-policy/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/ClientRootLayout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/ClientRootLayout/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/LayoutHeader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/LayoutHeader/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/LayoutNavigation/ClientLayoutNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/LayoutNavigation/ClientLayoutNavigation.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/LayoutNavigation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/LayoutNavigation/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/LayoutNavigation/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/LayoutNavigation/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/ModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/ModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/ModalContainer/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/ModalContainer/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateForm/PhotoMeta/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateForm/PhotoMeta/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateForm/PhotoMeta/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateForm/PhotoMeta/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateForm/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateForm/actions.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateForm/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateForm/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateModal/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateModal/style.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateModal/style.module.css -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoCreateModalContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoCreateModalContainer/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoDeleteForm/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoDeleteForm/actions.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoDeleteForm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoDeleteForm/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoViewNavigator/container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoViewNavigator/container.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoViewNavigator/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoViewNavigator/index.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_components/PhotoViewNavigator/provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_components/PhotoViewNavigator/provider.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_hooks/useKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_hooks/useKey.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_hooks/useModal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_hooks/useModal.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/_hooks/usePagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/_hooks/usePagination.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/api/photos/upload/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/api/photos/upload/route.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/error.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/favicon.ico -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/fonts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/fonts.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/layout.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/app/not-found.tsx -------------------------------------------------------------------------------- /packages/sns-web-3/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/constants.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/lib/auth.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/lib/prisma.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/lib/s3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/lib/s3.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/middleware.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/deletePhoto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/deletePhoto/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getCategories/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getCategories/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getCategory/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getCategory/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getCategoryById/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getCategoryById/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getPhoto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getPhoto/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getPhotoComments/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getPhotoComments/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getPhotoLike/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getPhotoLike/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/getPhotos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/getPhotos/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/postPhotoComment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/postPhotoComment/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/postPhotoEdit/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/postPhotoEdit/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/postPhotoLike/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/postPhotoLike/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/postPhotos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/postPhotos/index.ts -------------------------------------------------------------------------------- /packages/sns-web-3/src/services/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/src/services/type.ts -------------------------------------------------------------------------------- /packages/sns-web-3/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/practical-nextjs-book/applications/HEAD/packages/sns-web-3/tsconfig.json --------------------------------------------------------------------------------