├── .eslintrc.json ├── .gitignore ├── .vscode └── settings.json ├── DB └── db.config.js ├── README.md ├── app ├── (router) │ ├── _components │ │ ├── Dialog.jsx │ │ ├── EditProfile.jsx │ │ ├── Editor.jsx │ │ ├── Header.jsx │ │ ├── Login.jsx │ │ ├── Searchitem.jsx │ │ ├── SideNav.jsx │ │ ├── Signup.jsx │ │ ├── TestUser.jsx │ │ └── TextEdit.jsx │ ├── home │ │ ├── [id] │ │ │ └── page.jsx │ │ ├── _components │ │ │ ├── AllBlogs.jsx │ │ │ ├── BlogCard.jsx │ │ │ ├── BlogCardSkeleton.jsx │ │ │ ├── CommentSection.jsx │ │ │ ├── CommentSkeleton.jsx │ │ │ └── WelcomeBanner.jsx │ │ └── page.js │ ├── layout.js │ ├── myblog │ │ └── page.js │ ├── search │ │ └── page.js │ └── signup │ │ └── page.js ├── api │ ├── (comment) │ │ ├── create │ │ │ └── route.js │ │ ├── deletecomment │ │ │ └── route.js │ │ └── getcomment │ │ │ └── route.js │ ├── (posts) │ │ ├── post │ │ │ ├── [id] │ │ │ │ └── route.js │ │ │ └── route.js │ │ └── search │ │ │ └── route.js │ ├── (update) │ │ ├── updatePara │ │ │ └── route.js │ │ ├── updateTitle │ │ │ └── route.js │ │ ├── useremail │ │ │ └── route.js │ │ └── username │ │ │ └── route.js │ ├── (user) │ │ ├── delete │ │ │ └── route.js │ │ ├── login │ │ │ └── route.js │ │ ├── logout │ │ │ └── route.js │ │ └── signup │ │ │ └── route.js │ └── sign-image │ │ └── route.js ├── favicon.ico ├── globals.css ├── layout.js ├── page.js └── redux │ ├── CommentSlice.js │ ├── PostSlice.js │ ├── Provider.js │ ├── Store.js │ ├── UpdateSlice.js │ └── UserSignupLoginSlice.js ├── components.json ├── components ├── theme-provider.jsx ├── themeToggle.jsx └── ui │ ├── alert-dialog.jsx │ ├── alert.jsx │ ├── button.jsx │ ├── dialog.jsx │ ├── dropdown-menu.jsx │ ├── input.jsx │ ├── label.jsx │ ├── pagination.jsx │ ├── textarea.jsx │ ├── toast.jsx │ ├── toaster.jsx │ └── use-toast.js ├── jsconfig.json ├── lib └── utils.js ├── middleware.js ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma └── schema.prisma ├── public ├── logo.svg ├── next.svg ├── panda.png ├── post.png └── vercel.svg ├── tailwind.config.js └── utils └── Pagginate.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.formatOnSave": true 3 | } -------------------------------------------------------------------------------- /DB/db.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/DB/db.config.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/README.md -------------------------------------------------------------------------------- /app/(router)/_components/Dialog.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/Dialog.jsx -------------------------------------------------------------------------------- /app/(router)/_components/EditProfile.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/EditProfile.jsx -------------------------------------------------------------------------------- /app/(router)/_components/Editor.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/Editor.jsx -------------------------------------------------------------------------------- /app/(router)/_components/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/Header.jsx -------------------------------------------------------------------------------- /app/(router)/_components/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/Login.jsx -------------------------------------------------------------------------------- /app/(router)/_components/Searchitem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/Searchitem.jsx -------------------------------------------------------------------------------- /app/(router)/_components/SideNav.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/SideNav.jsx -------------------------------------------------------------------------------- /app/(router)/_components/Signup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/Signup.jsx -------------------------------------------------------------------------------- /app/(router)/_components/TestUser.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/TestUser.jsx -------------------------------------------------------------------------------- /app/(router)/_components/TextEdit.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/_components/TextEdit.jsx -------------------------------------------------------------------------------- /app/(router)/home/[id]/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/[id]/page.jsx -------------------------------------------------------------------------------- /app/(router)/home/_components/AllBlogs.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/_components/AllBlogs.jsx -------------------------------------------------------------------------------- /app/(router)/home/_components/BlogCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/_components/BlogCard.jsx -------------------------------------------------------------------------------- /app/(router)/home/_components/BlogCardSkeleton.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/_components/BlogCardSkeleton.jsx -------------------------------------------------------------------------------- /app/(router)/home/_components/CommentSection.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/_components/CommentSection.jsx -------------------------------------------------------------------------------- /app/(router)/home/_components/CommentSkeleton.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/_components/CommentSkeleton.jsx -------------------------------------------------------------------------------- /app/(router)/home/_components/WelcomeBanner.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/_components/WelcomeBanner.jsx -------------------------------------------------------------------------------- /app/(router)/home/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/home/page.js -------------------------------------------------------------------------------- /app/(router)/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/layout.js -------------------------------------------------------------------------------- /app/(router)/myblog/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/myblog/page.js -------------------------------------------------------------------------------- /app/(router)/search/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/search/page.js -------------------------------------------------------------------------------- /app/(router)/signup/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/(router)/signup/page.js -------------------------------------------------------------------------------- /app/api/(comment)/create/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(comment)/create/route.js -------------------------------------------------------------------------------- /app/api/(comment)/deletecomment/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(comment)/deletecomment/route.js -------------------------------------------------------------------------------- /app/api/(comment)/getcomment/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(comment)/getcomment/route.js -------------------------------------------------------------------------------- /app/api/(posts)/post/[id]/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(posts)/post/[id]/route.js -------------------------------------------------------------------------------- /app/api/(posts)/post/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(posts)/post/route.js -------------------------------------------------------------------------------- /app/api/(posts)/search/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(posts)/search/route.js -------------------------------------------------------------------------------- /app/api/(update)/updatePara/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(update)/updatePara/route.js -------------------------------------------------------------------------------- /app/api/(update)/updateTitle/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(update)/updateTitle/route.js -------------------------------------------------------------------------------- /app/api/(update)/useremail/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(update)/useremail/route.js -------------------------------------------------------------------------------- /app/api/(update)/username/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(update)/username/route.js -------------------------------------------------------------------------------- /app/api/(user)/delete/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(user)/delete/route.js -------------------------------------------------------------------------------- /app/api/(user)/login/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(user)/login/route.js -------------------------------------------------------------------------------- /app/api/(user)/logout/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(user)/logout/route.js -------------------------------------------------------------------------------- /app/api/(user)/signup/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/(user)/signup/route.js -------------------------------------------------------------------------------- /app/api/sign-image/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/api/sign-image/route.js -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/layout.js -------------------------------------------------------------------------------- /app/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/page.js -------------------------------------------------------------------------------- /app/redux/CommentSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/redux/CommentSlice.js -------------------------------------------------------------------------------- /app/redux/PostSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/redux/PostSlice.js -------------------------------------------------------------------------------- /app/redux/Provider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/redux/Provider.js -------------------------------------------------------------------------------- /app/redux/Store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/redux/Store.js -------------------------------------------------------------------------------- /app/redux/UpdateSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/redux/UpdateSlice.js -------------------------------------------------------------------------------- /app/redux/UserSignupLoginSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/app/redux/UserSignupLoginSlice.js -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components.json -------------------------------------------------------------------------------- /components/theme-provider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/theme-provider.jsx -------------------------------------------------------------------------------- /components/themeToggle.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/themeToggle.jsx -------------------------------------------------------------------------------- /components/ui/alert-dialog.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/alert-dialog.jsx -------------------------------------------------------------------------------- /components/ui/alert.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/alert.jsx -------------------------------------------------------------------------------- /components/ui/button.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/button.jsx -------------------------------------------------------------------------------- /components/ui/dialog.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/dialog.jsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/dropdown-menu.jsx -------------------------------------------------------------------------------- /components/ui/input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/input.jsx -------------------------------------------------------------------------------- /components/ui/label.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/label.jsx -------------------------------------------------------------------------------- /components/ui/pagination.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/pagination.jsx -------------------------------------------------------------------------------- /components/ui/textarea.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/textarea.jsx -------------------------------------------------------------------------------- /components/ui/toast.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/toast.jsx -------------------------------------------------------------------------------- /components/ui/toaster.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/toaster.jsx -------------------------------------------------------------------------------- /components/ui/use-toast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/components/ui/use-toast.js -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/jsconfig.json -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/lib/utils.js -------------------------------------------------------------------------------- /middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/middleware.js -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/panda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/public/panda.png -------------------------------------------------------------------------------- /public/post.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/public/post.png -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /utils/Pagginate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riteshk-007/Blog-Platform/HEAD/utils/Pagginate.js --------------------------------------------------------------------------------