├── .env.example ├── .github └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── app ├── (policies) │ ├── contact │ │ └── page.tsx │ ├── layout.tsx │ ├── policies │ │ └── page.tsx │ ├── privacy │ │ └── page.tsx │ └── terms │ │ └── page.tsx ├── actions │ ├── posts.ts │ ├── pwa.ts │ └── users.ts ├── activity │ └── page.tsx ├── api │ ├── auth │ │ └── [...nextauth] │ │ │ └── route.ts │ └── post │ │ ├── comment │ │ ├── [postId] │ │ │ └── route.ts │ │ └── route.ts │ │ ├── like │ │ └── [postId] │ │ │ └── route.ts │ │ └── route.ts ├── contexts │ ├── PostProvider.tsx │ └── PostsProvider.tsx ├── create │ └── page.tsx ├── favicon.ico ├── fonts │ ├── GeistMonoVF.woff │ └── GeistVF.woff ├── globals.css ├── layout.tsx ├── lib │ ├── auth.ts │ └── util.ts ├── login │ └── page.tsx ├── manifest.ts ├── page.tsx ├── post │ └── [postId] │ │ └── page.tsx ├── profile │ └── page.tsx ├── providers.tsx ├── search │ └── page.tsx └── signup │ └── page.tsx ├── components.json ├── components ├── Footer.tsx ├── GoBack.tsx ├── Header.tsx ├── SideNavbar.tsx ├── ThemeProvider.tsx ├── ThemeToggle.tsx ├── comments │ ├── CommentMenu.tsx │ ├── Comments.tsx │ └── CreateComment.tsx ├── post │ ├── Post.tsx │ ├── PostActions.tsx │ ├── PostContent.tsx │ ├── PostFooter.tsx │ └── PostHeader.tsx ├── posts │ ├── CreatePost.tsx │ ├── Post.tsx │ ├── PostList.tsx │ └── PostMenu.tsx ├── pwa │ ├── InstallPrompt.tsx │ └── PushNotificationManager.tsx ├── shimmer │ ├── PostListShimmer.tsx │ └── PostShimmer.tsx └── ui │ ├── button.tsx │ ├── card.tsx │ ├── command.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ ├── separator.tsx │ ├── sheet.tsx │ ├── sonner.tsx │ └── textarea.tsx ├── generate-vapid-keys.js ├── lib └── utils.ts ├── mock └── Posts.json ├── models ├── Comment.ts ├── Post.ts └── User.ts ├── next-env.d.ts ├── next.config.ts ├── package.json ├── postcss.config.mjs ├── public ├── file.svg ├── globe.svg ├── logo.svg ├── next.svg ├── sw.js ├── vercel.svg └── window.svg ├── tailwind.config.ts ├── tsconfig.json └── types └── post.d.ts /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/.env.example -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | data 3 | node_modules 4 | .env 5 | .next 6 | 7 | certificates -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/README.md -------------------------------------------------------------------------------- /app/(policies)/contact/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/(policies)/contact/page.tsx -------------------------------------------------------------------------------- /app/(policies)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/(policies)/layout.tsx -------------------------------------------------------------------------------- /app/(policies)/policies/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/(policies)/policies/page.tsx -------------------------------------------------------------------------------- /app/(policies)/privacy/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/(policies)/privacy/page.tsx -------------------------------------------------------------------------------- /app/(policies)/terms/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/(policies)/terms/page.tsx -------------------------------------------------------------------------------- /app/actions/posts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/actions/posts.ts -------------------------------------------------------------------------------- /app/actions/pwa.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/actions/pwa.ts -------------------------------------------------------------------------------- /app/actions/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/actions/users.ts -------------------------------------------------------------------------------- /app/activity/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/activity/page.tsx -------------------------------------------------------------------------------- /app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /app/api/post/comment/[postId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/api/post/comment/[postId]/route.ts -------------------------------------------------------------------------------- /app/api/post/comment/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/api/post/comment/route.ts -------------------------------------------------------------------------------- /app/api/post/like/[postId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/api/post/like/[postId]/route.ts -------------------------------------------------------------------------------- /app/api/post/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/api/post/route.ts -------------------------------------------------------------------------------- /app/contexts/PostProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/contexts/PostProvider.tsx -------------------------------------------------------------------------------- /app/contexts/PostsProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/contexts/PostsProvider.tsx -------------------------------------------------------------------------------- /app/create/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/create/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/fonts/GeistMonoVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/fonts/GeistMonoVF.woff -------------------------------------------------------------------------------- /app/fonts/GeistVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/fonts/GeistVF.woff -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/lib/auth.ts -------------------------------------------------------------------------------- /app/lib/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/lib/util.ts -------------------------------------------------------------------------------- /app/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/login/page.tsx -------------------------------------------------------------------------------- /app/manifest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/manifest.ts -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/post/[postId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/post/[postId]/page.tsx -------------------------------------------------------------------------------- /app/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/profile/page.tsx -------------------------------------------------------------------------------- /app/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/providers.tsx -------------------------------------------------------------------------------- /app/search/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/search/page.tsx -------------------------------------------------------------------------------- /app/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/app/signup/page.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components.json -------------------------------------------------------------------------------- /components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/Footer.tsx -------------------------------------------------------------------------------- /components/GoBack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/GoBack.tsx -------------------------------------------------------------------------------- /components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/Header.tsx -------------------------------------------------------------------------------- /components/SideNavbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/SideNavbar.tsx -------------------------------------------------------------------------------- /components/ThemeProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ThemeProvider.tsx -------------------------------------------------------------------------------- /components/ThemeToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ThemeToggle.tsx -------------------------------------------------------------------------------- /components/comments/CommentMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/comments/CommentMenu.tsx -------------------------------------------------------------------------------- /components/comments/Comments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/comments/Comments.tsx -------------------------------------------------------------------------------- /components/comments/CreateComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/comments/CreateComment.tsx -------------------------------------------------------------------------------- /components/post/Post.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/post/Post.tsx -------------------------------------------------------------------------------- /components/post/PostActions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/post/PostActions.tsx -------------------------------------------------------------------------------- /components/post/PostContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/post/PostContent.tsx -------------------------------------------------------------------------------- /components/post/PostFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/post/PostFooter.tsx -------------------------------------------------------------------------------- /components/post/PostHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/post/PostHeader.tsx -------------------------------------------------------------------------------- /components/posts/CreatePost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/posts/CreatePost.tsx -------------------------------------------------------------------------------- /components/posts/Post.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/posts/Post.tsx -------------------------------------------------------------------------------- /components/posts/PostList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/posts/PostList.tsx -------------------------------------------------------------------------------- /components/posts/PostMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/posts/PostMenu.tsx -------------------------------------------------------------------------------- /components/pwa/InstallPrompt.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/pwa/InstallPrompt.tsx -------------------------------------------------------------------------------- /components/pwa/PushNotificationManager.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/pwa/PushNotificationManager.tsx -------------------------------------------------------------------------------- /components/shimmer/PostListShimmer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/shimmer/PostListShimmer.tsx -------------------------------------------------------------------------------- /components/shimmer/PostShimmer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/shimmer/PostShimmer.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/command.tsx -------------------------------------------------------------------------------- /components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/dialog.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/sheet.tsx -------------------------------------------------------------------------------- /components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/sonner.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /generate-vapid-keys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/generate-vapid-keys.js -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /mock/Posts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/mock/Posts.json -------------------------------------------------------------------------------- /models/Comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/models/Comment.ts -------------------------------------------------------------------------------- /models/Post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/models/Post.ts -------------------------------------------------------------------------------- /models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/models/User.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/file.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/sw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/sw.js -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/public/window.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/post.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aadeshkulkarni/figuringout/HEAD/types/post.d.ts --------------------------------------------------------------------------------