{"id":21838976,"url":"https://github.com/malekd5/tweeter","last_synced_at":"2026-01-01T23:51:16.630Z","repository":{"id":156543193,"uuid":"587044692","full_name":"MalekD5/Tweeter","owner":"MalekD5","description":"(WORK IN PROGRESS) Twitter clone using NextJs 14, Drizzle, and Uploadthing","archived":false,"fork":false,"pushed_at":"2024-07-25T12:19:51.000Z","size":918,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T02:12:28.970Z","etag":null,"topics":["cockroachdb","drizzle-orm","nextjs","nextjs14","postgres","shadcn-ui","tailwindcss","typescript","uploadthing","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MalekD5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-09T20:41:27.000Z","updated_at":"2024-07-25T12:09:23.000Z","dependencies_parsed_at":"2024-06-29T19:25:13.955Z","dependency_job_id":"ee932795-3a88-4741-a811-2fce58ea2989","html_url":"https://github.com/MalekD5/Tweeter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalekD5%2FTweeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalekD5%2FTweeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalekD5%2FTweeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalekD5%2FTweeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MalekD5","download_url":"https://codeload.github.com/MalekD5/Tweeter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243722118,"owners_count":20337150,"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":["cockroachdb","drizzle-orm","nextjs","nextjs14","postgres","shadcn-ui","tailwindcss","typescript","uploadthing","zod"],"created_at":"2024-11-27T21:15:19.367Z","updated_at":"2026-01-01T23:51:16.625Z","avatar_url":"https://github.com/MalekD5.png","language":"TypeScript","readme":"# Tweeter\n\nTweeter is a Twitter/X clone built with Next.js 14.\n\n## 📁 Folder Structure\n\n- `app/`:  \n  Application routes using the Next.js App Router, including layouts, pages, route groups, and API endpoints (under `app/api/`).\n\n- `components/`:  \n  Reusable React components, organized by feature (e.g., `tweet/`, `layout/`) and base UI primitives under `ui/`.\n\n- `lib/`:  \n  Utility functions, configuration files, and foundational code such as `db.ts` (Prisma client), `auth/`, and shared constants.\n\n- `models/`:  \n  Optional domain model definitions or abstractions with Drizzle ORM\n\n- `services/`:  \n  Business logic and data access layer. Each file encapsulates logic related to a domain (e.g., `tweet.service.ts`, `auth.service.ts`).\n\n- `hooks/`:  \n  Custom React hooks for abstracting logic like authentication state or tweet interactions (`useAuth`, `useTweetActions`).\n\n- `context/`:  \n  React Context providers for app-wide state like authentication or UI preferences.\n\n- `types/`:  \n  Global TypeScript types and interfaces used across the app for consistency in API, components, and services.\n\n- `public/`:  \n  Static files such as images, icons, and web fonts (e.g., `fonts/chirp-*.woff`). Accessible via the root URL.\n\n- `tests/`:  \n  Contains unit and integration tests, typically organized to mirror the `services/` or `components/` structure.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalekd5%2Ftweeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalekd5%2Ftweeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalekd5%2Ftweeter/lists"}