{"id":14987526,"url":"https://github.com/harundogdu/twitter-clone","last_synced_at":"2025-03-16T19:14:01.832Z","repository":{"id":152916588,"uuid":"620545145","full_name":"harundogdu/twitter-clone","owner":"harundogdu","description":"This is a Twitter Clone project built with Next.js, Prisma, MongoDb, Tailwind, Typescript and NextAuth libraries. It is a full-stack project that uses Next.js for the frontend and Prisma for the backend. It is a Twitter clone that allows users to create an account, login, logout, follow other users, like and retweet tweets and more.","archived":false,"fork":false,"pushed_at":"2024-09-05T12:57:10.000Z","size":1208,"stargazers_count":55,"open_issues_count":7,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-03T20:57:58.547Z","etag":null,"topics":["axios","date-fns","hot-toast","mongodb","nextauth","nextjs","node-js","nodejs","prisma","react","react-spinner","swr","tailwind","twitter","twitter-clone","typescript","zustand"],"latest_commit_sha":null,"homepage":"https://twitter-clone-hd.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harundogdu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-28T22:33:19.000Z","updated_at":"2025-02-08T11:56:02.000Z","dependencies_parsed_at":"2024-09-19T21:01:52.430Z","dependency_job_id":"deee3462-88db-49fa-840f-2eeac23cf6df","html_url":"https://github.com/harundogdu/twitter-clone","commit_stats":{"total_commits":376,"total_committers":7,"mean_commits":"53.714285714285715","dds":0.601063829787234,"last_synced_commit":"bef848a958e8fd26856149abfa7980d071577219"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Ftwitter-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Ftwitter-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Ftwitter-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harundogdu%2Ftwitter-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harundogdu","download_url":"https://codeload.github.com/harundogdu/twitter-clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918613,"owners_count":20368745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","date-fns","hot-toast","mongodb","nextauth","nextjs","node-js","nodejs","prisma","react","react-spinner","swr","tailwind","twitter","twitter-clone","typescript","zustand"],"created_at":"2024-09-24T14:14:53.123Z","updated_at":"2025-03-16T19:14:01.787Z","avatar_url":"https://github.com/harundogdu.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/99184393/217984715-374189af-0e66-41cd-bca4-445b6045797e.png\" alt=\"logo\" width=\"50\" height=\"auto\" /\u003e\n  \n# Twitter Clone\nThis is a [Twitter](https://twitter.com) Clone project built with [Next.js](https://nextjs.org/), [Prisma](https://www.prisma.io/), [MongoDb](https://www.mongodb.com/), [Tailwind](https://tailwindcss.com/), [Typescript](https://www.typescriptlang.org/) and [NextAuth](https://next-auth.js.org/) libraries. It is a full-stack project that uses [Next.js](https://nextjs.org/) for the frontend and [Prisma](https://www.prisma.io/) for the backend. It is a Twitter clone that allows users to create an account, login, logout, follow other users, like and retweet tweets, and more.\n  \n  \n\u003c!-- Badges --\u003e\n\n\u003ca href=\"https://twitter-clone-hd.vercel.app/\" target=\"_blank\"\u003e![](https://img.shields.io/website-up-down-green-red/http/monip.org.svg)\u003c/a\u003e\n![](https://img.shields.io/badge/Maintained-Yes-indigo)\n![](https://img.shields.io/github/forks/harundogdu/twitter-clone.svg)\n![](https://img.shields.io/github/stars/harundogdu/twitter-clone.svg)\n![](https://img.shields.io/github/issues/harundogdu/twitter-clone)\n![](https://img.shields.io/github/last-commit/harundogdu/twitter-clone)\n\n\u003ch4\u003e\n    \u003ca href=\"https://twitter-clone-hd.vercel.app/\"\u003eView Demo\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/harundogdu/twitter-clone/blob/main/README.md\"\u003eDocumentation\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/harundogdu/twitter-clone/issues\"\u003eReport Bug\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/harundogdu/twitter-clone/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/h4\u003e\n\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003c!-- About the Project --\u003e\n\n## :star2: About the Project\n\n\u003c!-- Screenshots --\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://projects-seven-peach.vercel.app/\" target=\"_blank\"\u003e\u003cimg width=\"85%\" height=\"auto\"  src='https://github.com/harundogdu/twitter-clone/assets/101521433/dd793b35-858c-4c28-bbd5-6b781bbcad93' alt='image'/\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## :toolbox: Getting Started\n\n### :bangbang: Prerequisites\n\n- Sign up for a MongoDB account \u003ca href='https://www.mongodb.com/'\u003eHERE\u003c/a\u003e\n- Install Node JS in your computer \u003ca href='https://nodejs.org/en/'\u003eHERE\u003c/a\u003e\n\n\u003c!-- Env Variables --\u003e\n\n### :key: Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`DATABASE_URL`\n\n`NEXTAUTH_JWT_SECRET`\n\n`NEXTAUTH_SECRET`\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n## :gear: Installation\n\nA step by step series of examples that tell you how to get a development env running\nClone the repository\n\n```bash\ngit clone https://github.com/yourusername/twitter-clone.git\n```\n\n\u003cp\u003eInstall dependencies\u003c/p\u003e\n\n```bash\nnpm install\n```\n\n\u003cp\u003eGenerate Prisma Client with the following command\u003c/p\u003e\n\n```bash\nnpx prisma generate\n```\n\n\u003cp\u003eRun the development server\u003c/p\u003e\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Available Scripts\n\n\u003cul\u003e\n\u003cli\u003e\u003ccode\u003enpm run dev\u003c/code\u003e - Runs the app in the development mode.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003enpm run start\u003c/code\u003e - Runs the app in the production mode.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003enpm run fresh\u003c/code\u003e - Drops the database, creates a new one, and runs all migrations.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003enpx prisma db seed\u003c/code\u003e - Runs the seed file.\u003c/li\u003e\n\u003c/ul\u003e\n\n## :notebook_with_decorative_cover: Prisma\n\nPrisma is an open-source database toolkit that makes it easy for developers to reason about their data and how they access it. It is used to query a database inside a Node.js or TypeScript application.\n\n## :notebook_with_decorative_cover: Prisma Schema\n\nThe Prisma schema is the single source of truth for your database schema. It describes your database tables, columns, and relations. It also defines which operations are available on your data.\n\n## :notebook_with_decorative_cover: Prisma Client\n\nPrisma Client is an auto-generated and type-safe query builder for Node.js \u0026 TypeScript. It's used as an alternative to writing plain SQL, or using another database access tool such as SQL query builders (e.g. SQLAlchemy) or ORMs (e.g. TypeORM).\n\n## :space_invader: Built With\n\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https://www.typescriptlang.org/\"\u003eTypescript\u003c/a\u003e\u003cspan\u003e (for type safety)\u003cspan\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://nextjs.org/\"\u003eNext.js\u003c/a\u003e\u003cspan\u003e\u003c/span\u003e (for server-side rendering)\u003c/span\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.prisma.io/\"\u003ePrisma\u003c/a\u003e\u003cspan\u003e (for database access)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://nodejs.org/api/modules.html\"\u003eNode.js\u003c/a\u003e\u003cspan\u003e (for running scripts)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/swr\"\u003eSWR\u003c/a\u003e\u003cspan\u003e (for data fetching)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/react-hot-toast\"\u003eHot-Toast\u003c/a\u003e\u003cspan\u003e (for toast notifications)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/next-auth\"\u003eNext-Auth\u003c/a\u003e\u003cspan\u003e (for authentication)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/axios\"\u003eAxios\u003c/a\u003e\u003cspan\u003e (for making HTTP requests)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/react-icons\"\u003eReact-Icons\u003c/a\u003e\u003cspan\u003e (for icons)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/zustand\"\u003eZustand\u003c/a\u003e\u003cspan\u003e (for state management)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/bcrypt\"\u003eBcrypt\u003c/a\u003e\u003cspan\u003e (for hashing passwords)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/@next-auth/prisma-adapter\"\u003ePrisma-Adapter\u003c/a\u003e\u003cspan\u003e (for next-auth configuration)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/date-fns\"\u003eDate-fns\u003c/a\u003e\u003cspan\u003e (for manipulating dates)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/dropzone\"\u003eDropzone\u003c/a\u003e\u003cspan\u003e (for turns HTML element)\u003c/span\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.npmjs.com/package/react-spinners\"\u003eReact-Spinners\u003c/a\u003e\u003cspan\u003e (for a collection of loading)\u003c/span\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\n## :handshake: Authors\n\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/ahmetenesbahar\"\u003eAhmet Enes Bahar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/atahantutar\"\u003eAtahan Tutar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/harundogdu\"\u003eHarun Doğdu\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/yusufalperendumlu\"\u003eYusuf Alperen Dumlu\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharundogdu%2Ftwitter-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharundogdu%2Ftwitter-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharundogdu%2Ftwitter-clone/lists"}