├── .dockerignore ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── app.js ├── client ├── .gitignore ├── Dockerfile ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo.png │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ ├── robots.txt │ └── user.gif ├── src │ ├── App.js │ ├── api │ │ ├── comment.js │ │ ├── communities.js │ │ ├── posts.js │ │ └── users.js │ ├── components │ │ ├── community │ │ │ ├── about.jsx │ │ │ ├── create-post-btn.jsx │ │ │ ├── header.jsx │ │ │ ├── side-post-community.jsx │ │ │ └── top-communities.jsx │ │ ├── layout │ │ │ ├── footer.jsx │ │ │ ├── index.jsx │ │ │ ├── navbar.jsx │ │ │ └── secondary-layout.jsx │ │ ├── modals │ │ │ ├── delete-comment-modal.jsx │ │ │ ├── delete-community-modal.jsx │ │ │ ├── delete-post.jsx │ │ │ ├── edit-comment-modal.jsx │ │ │ ├── edit-community-modal.jsx │ │ │ └── edit-post-model.jsx │ │ ├── post │ │ │ ├── comment │ │ │ │ ├── comment-input.jsx │ │ │ │ ├── comment-item.jsx │ │ │ │ └── index.jsx │ │ │ ├── post-form │ │ │ │ ├── image-upload.jsx │ │ │ │ ├── index.jsx │ │ │ │ ├── tab-item.jsx │ │ │ │ └── text-inputs.jsx │ │ │ ├── post-item.jsx │ │ │ ├── post-loading.jsx │ │ │ └── posts.jsx │ │ ├── protected-route.jsx │ │ └── ui │ │ │ └── input.jsx │ ├── config.js │ ├── index.css │ ├── index.js │ ├── pages │ │ ├── community-page.jsx │ │ ├── community-post-page.jsx │ │ ├── create-post-page.jsx │ │ ├── explore-page.jsx │ │ ├── homepage.jsx │ │ ├── loginpage.jsx │ │ ├── registerpage.jsx │ │ └── search-page.jsx │ ├── redux │ │ ├── sortingSlice.js │ │ └── store.js │ └── utils │ │ ├── auth.js │ │ ├── meta.js │ │ └── socket.js └── tailwind.config.js ├── controller ├── auth.controller.js ├── comment.controller.js ├── community.controller.js └── post.controller.js ├── docker-compose.yml ├── middleware └── auth.js ├── model ├── comment.model.js ├── community.model.js ├── post.model.js └── user.model.js ├── package.json ├── passport.js ├── routes ├── comment.route.js ├── community.route.js ├── post.route.js └── user.route.js ├── utils └── connect.js └── vercel.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/app.js -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/Dockerfile -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/README.md -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/package.json -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/logo.png -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/public/user.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/public/user.gif -------------------------------------------------------------------------------- /client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/App.js -------------------------------------------------------------------------------- /client/src/api/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/api/comment.js -------------------------------------------------------------------------------- /client/src/api/communities.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/api/communities.js -------------------------------------------------------------------------------- /client/src/api/posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/api/posts.js -------------------------------------------------------------------------------- /client/src/api/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/api/users.js -------------------------------------------------------------------------------- /client/src/components/community/about.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/community/about.jsx -------------------------------------------------------------------------------- /client/src/components/community/create-post-btn.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/community/create-post-btn.jsx -------------------------------------------------------------------------------- /client/src/components/community/header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/community/header.jsx -------------------------------------------------------------------------------- /client/src/components/community/side-post-community.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/community/side-post-community.jsx -------------------------------------------------------------------------------- /client/src/components/community/top-communities.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/community/top-communities.jsx -------------------------------------------------------------------------------- /client/src/components/layout/footer.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/layout/footer.jsx -------------------------------------------------------------------------------- /client/src/components/layout/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/layout/index.jsx -------------------------------------------------------------------------------- /client/src/components/layout/navbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/layout/navbar.jsx -------------------------------------------------------------------------------- /client/src/components/layout/secondary-layout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/layout/secondary-layout.jsx -------------------------------------------------------------------------------- /client/src/components/modals/delete-comment-modal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/modals/delete-comment-modal.jsx -------------------------------------------------------------------------------- /client/src/components/modals/delete-community-modal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/modals/delete-community-modal.jsx -------------------------------------------------------------------------------- /client/src/components/modals/delete-post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/modals/delete-post.jsx -------------------------------------------------------------------------------- /client/src/components/modals/edit-comment-modal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/modals/edit-comment-modal.jsx -------------------------------------------------------------------------------- /client/src/components/modals/edit-community-modal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/modals/edit-community-modal.jsx -------------------------------------------------------------------------------- /client/src/components/modals/edit-post-model.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/modals/edit-post-model.jsx -------------------------------------------------------------------------------- /client/src/components/post/comment/comment-input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/comment/comment-input.jsx -------------------------------------------------------------------------------- /client/src/components/post/comment/comment-item.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/comment/comment-item.jsx -------------------------------------------------------------------------------- /client/src/components/post/comment/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/comment/index.jsx -------------------------------------------------------------------------------- /client/src/components/post/post-form/image-upload.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/post-form/image-upload.jsx -------------------------------------------------------------------------------- /client/src/components/post/post-form/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/post-form/index.jsx -------------------------------------------------------------------------------- /client/src/components/post/post-form/tab-item.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/post-form/tab-item.jsx -------------------------------------------------------------------------------- /client/src/components/post/post-form/text-inputs.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/post-form/text-inputs.jsx -------------------------------------------------------------------------------- /client/src/components/post/post-item.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/post-item.jsx -------------------------------------------------------------------------------- /client/src/components/post/post-loading.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/post-loading.jsx -------------------------------------------------------------------------------- /client/src/components/post/posts.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/post/posts.jsx -------------------------------------------------------------------------------- /client/src/components/protected-route.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/protected-route.jsx -------------------------------------------------------------------------------- /client/src/components/ui/input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/components/ui/input.jsx -------------------------------------------------------------------------------- /client/src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/config.js -------------------------------------------------------------------------------- /client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/index.css -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/pages/community-page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/community-page.jsx -------------------------------------------------------------------------------- /client/src/pages/community-post-page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/community-post-page.jsx -------------------------------------------------------------------------------- /client/src/pages/create-post-page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/create-post-page.jsx -------------------------------------------------------------------------------- /client/src/pages/explore-page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/explore-page.jsx -------------------------------------------------------------------------------- /client/src/pages/homepage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/homepage.jsx -------------------------------------------------------------------------------- /client/src/pages/loginpage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/loginpage.jsx -------------------------------------------------------------------------------- /client/src/pages/registerpage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/registerpage.jsx -------------------------------------------------------------------------------- /client/src/pages/search-page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/pages/search-page.jsx -------------------------------------------------------------------------------- /client/src/redux/sortingSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/redux/sortingSlice.js -------------------------------------------------------------------------------- /client/src/redux/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/redux/store.js -------------------------------------------------------------------------------- /client/src/utils/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/utils/auth.js -------------------------------------------------------------------------------- /client/src/utils/meta.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/utils/meta.js -------------------------------------------------------------------------------- /client/src/utils/socket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/src/utils/socket.js -------------------------------------------------------------------------------- /client/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/client/tailwind.config.js -------------------------------------------------------------------------------- /controller/auth.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/controller/auth.controller.js -------------------------------------------------------------------------------- /controller/comment.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/controller/comment.controller.js -------------------------------------------------------------------------------- /controller/community.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/controller/community.controller.js -------------------------------------------------------------------------------- /controller/post.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/controller/post.controller.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /middleware/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/middleware/auth.js -------------------------------------------------------------------------------- /model/comment.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/model/comment.model.js -------------------------------------------------------------------------------- /model/community.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/model/community.model.js -------------------------------------------------------------------------------- /model/post.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/model/post.model.js -------------------------------------------------------------------------------- /model/user.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/model/user.model.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/package.json -------------------------------------------------------------------------------- /passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/passport.js -------------------------------------------------------------------------------- /routes/comment.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/routes/comment.route.js -------------------------------------------------------------------------------- /routes/community.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/routes/community.route.js -------------------------------------------------------------------------------- /routes/post.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/routes/post.route.js -------------------------------------------------------------------------------- /routes/user.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/routes/user.route.js -------------------------------------------------------------------------------- /utils/connect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/utils/connect.js -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Devansh-365/ceddit/HEAD/vercel.json --------------------------------------------------------------------------------