├── .eslintrc ├── .gitignore ├── .husky └── pre-commit ├── .npmrc ├── .vscode ├── extensions.json └── settings.json ├── README.md ├── cypress.config.ts ├── cypress.d.ts ├── cypress ├── e2e │ ├── auth.cy.ts │ ├── post │ │ └── new-post.cy.ts │ ├── seed.cy.ts │ └── website.cy.ts ├── fixtures │ └── example.json └── support │ ├── commands.ts │ └── e2e.ts ├── mongodrop.sh ├── mongodump.sh ├── mongorestore.sh ├── next-env.d.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── public ├── devgram_icon_325x325.png ├── favicon.ico ├── logo192.png ├── logo512.png └── vercel.svg ├── src ├── assets │ ├── logo-black.svg │ ├── logo-text-dark.svg │ ├── logo-text-white.svg │ ├── logo-white.svg │ └── logo.svg ├── components │ ├── DefaultLayout │ │ ├── LeftBar │ │ │ ├── LeftBarOption.tsx │ │ │ ├── ProfileButton.tsx │ │ │ └── index.tsx │ │ ├── RightBar │ │ │ ├── ListItem.tsx │ │ │ └── index.tsx │ │ ├── ScrollToTop.tsx │ │ └── index.tsx │ ├── FollowersHeaderLayout │ │ └── index.tsx │ ├── Gif │ │ ├── Tile.tsx │ │ └── index.tsx │ ├── LoginButton.tsx │ ├── LoginModal │ │ └── index.tsx │ ├── MobileSideDrawer │ │ ├── SideDrawerOption.tsx │ │ └── index.tsx │ ├── NewPost │ │ ├── ProgressBar.tsx │ │ ├── TextInput.tsx │ │ ├── TextRemaining.tsx │ │ └── index.tsx │ ├── PostList │ │ ├── ActionButton.tsx │ │ ├── AddComment.tsx │ │ ├── CommentBox │ │ │ └── index.tsx │ │ ├── PostBox.tsx │ │ ├── ViewLikesModal.tsx │ │ └── index.tsx │ ├── ProfileHeader │ │ ├── EditProfileModal.tsx │ │ └── index.tsx │ ├── SinglePost │ │ └── index.tsx │ ├── UsersListItem.tsx │ └── common │ │ ├── Link.tsx │ │ ├── LogoSvg.tsx │ │ ├── LogoSvgWhite.tsx │ │ ├── Option.tsx │ │ └── RenderLink.tsx ├── context │ └── loginModalStateContext.tsx ├── global.css ├── hooks │ ├── index.ts │ └── useDebounce.ts ├── pages │ ├── 404.tsx │ ├── [id] │ │ ├── followers.tsx │ │ ├── following.tsx │ │ └── index.tsx │ ├── _app.tsx │ ├── _document.tsx │ ├── about.tsx │ ├── api │ │ ├── google-oauth-cypress.ts │ │ ├── google-oauth.ts │ │ ├── trpc │ │ │ └── [trpc].ts │ │ └── upload-image.ts │ ├── index.tsx │ ├── post │ │ └── [postId].tsx │ ├── test.tsx │ ├── test2.tsx │ └── upload.tsx ├── server │ ├── context.ts │ ├── db.ts │ ├── env.js │ ├── middleware │ │ ├── authOnlyMiddleware.ts │ │ ├── currentSessionMiddleware.ts │ │ └── index.ts │ ├── models │ │ ├── Comment.ts │ │ ├── Follower.ts │ │ ├── Like.ts │ │ ├── Post.ts │ │ ├── Session.ts │ │ └── User.ts │ ├── routers │ │ ├── _app.ts │ │ ├── comment.ts │ │ ├── post.ts │ │ └── user.ts │ └── trpc.ts ├── types.ts └── utils │ ├── createEmotionCache.ts │ ├── formatDate.ts │ ├── formatText.ts │ ├── getGoogleUrl.ts │ ├── getImageUrl.ts │ ├── getRandomColor.ts │ ├── index.ts │ ├── publicRuntimeConfig.ts │ ├── theme.ts │ ├── timeAgo.ts │ ├── transformer.ts │ └── trpc.ts ├── todo.md └── tsconfig.json /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm run pre-commit 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | enable-pre-post-scripts=true 2 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/README.md -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /cypress.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress.d.ts -------------------------------------------------------------------------------- /cypress/e2e/auth.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/e2e/auth.cy.ts -------------------------------------------------------------------------------- /cypress/e2e/post/new-post.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/e2e/post/new-post.cy.ts -------------------------------------------------------------------------------- /cypress/e2e/seed.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/e2e/seed.cy.ts -------------------------------------------------------------------------------- /cypress/e2e/website.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/e2e/website.cy.ts -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/fixtures/example.json -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/support/commands.ts -------------------------------------------------------------------------------- /cypress/support/e2e.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/cypress/support/e2e.ts -------------------------------------------------------------------------------- /mongodrop.sh: -------------------------------------------------------------------------------- 1 | mongosh devgram-v3 --eval "db.dropDatabase()" -------------------------------------------------------------------------------- /mongodump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/mongodump.sh -------------------------------------------------------------------------------- /mongorestore.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/mongorestore.sh -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/devgram_icon_325x325.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/public/devgram_icon_325x325.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/assets/logo-black.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/assets/logo-black.svg -------------------------------------------------------------------------------- /src/assets/logo-text-dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/assets/logo-text-dark.svg -------------------------------------------------------------------------------- /src/assets/logo-text-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/assets/logo-text-white.svg -------------------------------------------------------------------------------- /src/assets/logo-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/assets/logo-white.svg -------------------------------------------------------------------------------- /src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/assets/logo.svg -------------------------------------------------------------------------------- /src/components/DefaultLayout/LeftBar/LeftBarOption.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/LeftBar/LeftBarOption.tsx -------------------------------------------------------------------------------- /src/components/DefaultLayout/LeftBar/ProfileButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/LeftBar/ProfileButton.tsx -------------------------------------------------------------------------------- /src/components/DefaultLayout/LeftBar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/LeftBar/index.tsx -------------------------------------------------------------------------------- /src/components/DefaultLayout/RightBar/ListItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/RightBar/ListItem.tsx -------------------------------------------------------------------------------- /src/components/DefaultLayout/RightBar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/RightBar/index.tsx -------------------------------------------------------------------------------- /src/components/DefaultLayout/ScrollToTop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/ScrollToTop.tsx -------------------------------------------------------------------------------- /src/components/DefaultLayout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/DefaultLayout/index.tsx -------------------------------------------------------------------------------- /src/components/FollowersHeaderLayout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/FollowersHeaderLayout/index.tsx -------------------------------------------------------------------------------- /src/components/Gif/Tile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/Gif/Tile.tsx -------------------------------------------------------------------------------- /src/components/Gif/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/Gif/index.tsx -------------------------------------------------------------------------------- /src/components/LoginButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/LoginButton.tsx -------------------------------------------------------------------------------- /src/components/LoginModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/LoginModal/index.tsx -------------------------------------------------------------------------------- /src/components/MobileSideDrawer/SideDrawerOption.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/MobileSideDrawer/SideDrawerOption.tsx -------------------------------------------------------------------------------- /src/components/MobileSideDrawer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/MobileSideDrawer/index.tsx -------------------------------------------------------------------------------- /src/components/NewPost/ProgressBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/NewPost/ProgressBar.tsx -------------------------------------------------------------------------------- /src/components/NewPost/TextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/NewPost/TextInput.tsx -------------------------------------------------------------------------------- /src/components/NewPost/TextRemaining.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/NewPost/TextRemaining.tsx -------------------------------------------------------------------------------- /src/components/NewPost/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/NewPost/index.tsx -------------------------------------------------------------------------------- /src/components/PostList/ActionButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/PostList/ActionButton.tsx -------------------------------------------------------------------------------- /src/components/PostList/AddComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/PostList/AddComment.tsx -------------------------------------------------------------------------------- /src/components/PostList/CommentBox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/PostList/CommentBox/index.tsx -------------------------------------------------------------------------------- /src/components/PostList/PostBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/PostList/PostBox.tsx -------------------------------------------------------------------------------- /src/components/PostList/ViewLikesModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/PostList/ViewLikesModal.tsx -------------------------------------------------------------------------------- /src/components/PostList/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/PostList/index.tsx -------------------------------------------------------------------------------- /src/components/ProfileHeader/EditProfileModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/ProfileHeader/EditProfileModal.tsx -------------------------------------------------------------------------------- /src/components/ProfileHeader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/ProfileHeader/index.tsx -------------------------------------------------------------------------------- /src/components/SinglePost/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/SinglePost/index.tsx -------------------------------------------------------------------------------- /src/components/UsersListItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/UsersListItem.tsx -------------------------------------------------------------------------------- /src/components/common/Link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/common/Link.tsx -------------------------------------------------------------------------------- /src/components/common/LogoSvg.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/common/LogoSvg.tsx -------------------------------------------------------------------------------- /src/components/common/LogoSvgWhite.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/common/LogoSvgWhite.tsx -------------------------------------------------------------------------------- /src/components/common/Option.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/common/Option.tsx -------------------------------------------------------------------------------- /src/components/common/RenderLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/components/common/RenderLink.tsx -------------------------------------------------------------------------------- /src/context/loginModalStateContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/context/loginModalStateContext.tsx -------------------------------------------------------------------------------- /src/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/global.css -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useDebounce'; 2 | -------------------------------------------------------------------------------- /src/hooks/useDebounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/hooks/useDebounce.ts -------------------------------------------------------------------------------- /src/pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/404.tsx -------------------------------------------------------------------------------- /src/pages/[id]/followers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/[id]/followers.tsx -------------------------------------------------------------------------------- /src/pages/[id]/following.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/[id]/following.tsx -------------------------------------------------------------------------------- /src/pages/[id]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/[id]/index.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/about.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/about.tsx -------------------------------------------------------------------------------- /src/pages/api/google-oauth-cypress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/api/google-oauth-cypress.ts -------------------------------------------------------------------------------- /src/pages/api/google-oauth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/api/google-oauth.ts -------------------------------------------------------------------------------- /src/pages/api/trpc/[trpc].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/api/trpc/[trpc].ts -------------------------------------------------------------------------------- /src/pages/api/upload-image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/api/upload-image.ts -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/post/[postId].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/post/[postId].tsx -------------------------------------------------------------------------------- /src/pages/test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/test.tsx -------------------------------------------------------------------------------- /src/pages/test2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/test2.tsx -------------------------------------------------------------------------------- /src/pages/upload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/pages/upload.tsx -------------------------------------------------------------------------------- /src/server/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/context.ts -------------------------------------------------------------------------------- /src/server/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/db.ts -------------------------------------------------------------------------------- /src/server/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/env.js -------------------------------------------------------------------------------- /src/server/middleware/authOnlyMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/middleware/authOnlyMiddleware.ts -------------------------------------------------------------------------------- /src/server/middleware/currentSessionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/middleware/currentSessionMiddleware.ts -------------------------------------------------------------------------------- /src/server/middleware/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/middleware/index.ts -------------------------------------------------------------------------------- /src/server/models/Comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/models/Comment.ts -------------------------------------------------------------------------------- /src/server/models/Follower.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/models/Follower.ts -------------------------------------------------------------------------------- /src/server/models/Like.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/models/Like.ts -------------------------------------------------------------------------------- /src/server/models/Post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/models/Post.ts -------------------------------------------------------------------------------- /src/server/models/Session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/models/Session.ts -------------------------------------------------------------------------------- /src/server/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/models/User.ts -------------------------------------------------------------------------------- /src/server/routers/_app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/routers/_app.ts -------------------------------------------------------------------------------- /src/server/routers/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/routers/comment.ts -------------------------------------------------------------------------------- /src/server/routers/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/routers/post.ts -------------------------------------------------------------------------------- /src/server/routers/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/routers/user.ts -------------------------------------------------------------------------------- /src/server/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/server/trpc.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/createEmotionCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/createEmotionCache.ts -------------------------------------------------------------------------------- /src/utils/formatDate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/formatDate.ts -------------------------------------------------------------------------------- /src/utils/formatText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/formatText.ts -------------------------------------------------------------------------------- /src/utils/getGoogleUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/getGoogleUrl.ts -------------------------------------------------------------------------------- /src/utils/getImageUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/getImageUrl.ts -------------------------------------------------------------------------------- /src/utils/getRandomColor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/getRandomColor.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/publicRuntimeConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/publicRuntimeConfig.ts -------------------------------------------------------------------------------- /src/utils/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/theme.ts -------------------------------------------------------------------------------- /src/utils/timeAgo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/timeAgo.ts -------------------------------------------------------------------------------- /src/utils/transformer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/transformer.ts -------------------------------------------------------------------------------- /src/utils/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/src/utils/trpc.ts -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/todo.md -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BhavyaCodes/devgram-v2/HEAD/tsconfig.json --------------------------------------------------------------------------------