{"id":24875887,"url":"https://github.com/samuelsenerwa/lingual","last_synced_at":"2026-04-13T16:31:39.631Z","repository":{"id":238122320,"uuid":"795929231","full_name":"samuelsenerwa/Lingual","owner":"samuelsenerwa","description":"Client application close to duo lingo","archived":false,"fork":false,"pushed_at":"2024-08-26T12:43:16.000Z","size":1049,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:18:21.076Z","etag":null,"topics":["drizzle-orm","duolingo","neon","nextjs14","postgresql","shadcn-ui","tailwindcss","typescript","vercel"],"latest_commit_sha":null,"homepage":"https://duo-lingual.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuelsenerwa.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":"2024-05-04T12:27:37.000Z","updated_at":"2024-08-26T12:53:02.000Z","dependencies_parsed_at":"2024-06-08T21:22:41.943Z","dependency_job_id":"efdb2bd9-21ab-49d5-93b8-ac6a7e3f46f0","html_url":"https://github.com/samuelsenerwa/Lingual","commit_stats":null,"previous_names":["samuelsenerwa/lingual"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2FLingual","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2FLingual/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2FLingual/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelsenerwa%2FLingual/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelsenerwa","download_url":"https://codeload.github.com/samuelsenerwa/Lingual/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773015,"owners_count":20669718,"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":["drizzle-orm","duolingo","neon","nextjs14","postgresql","shadcn-ui","tailwindcss","typescript","vercel"],"created_at":"2025-02-01T08:18:22.010Z","updated_at":"2026-04-13T16:31:34.601Z","avatar_url":"https://github.com/samuelsenerwa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\n\n\n ## Running drizzle scripts\n\nadd these lines in your `package.json` file\n ```\n\n \"db:generate\": \"pnpm drizzle-kit generate:pg --schema db/schema.ts --out ./drizzle\",\n \"db:migrate\": \"bun ./script/migrate.ts\",\n \"db:studio\": \"pnpm drizzle-kit studio\"\n\n ```\n\n Alternative for this one ` \"db:migrate\": \"bun ./script/migrate.ts\",` can be using `tsx` to run it simply by typing ` \"db:migrate\": \"tsx ./script/migrate.ts\",` the reason is node doesn't support the content that I have included in my `migrate.ts` file, technically is like we're doing a work around. For more information you can checkout drizzle documentation for advanced guide.\n\n\n ## Running them in the terminal\n ### 1. Generating migration\nMake sure to run the scripts independetly\n ```\n\npnpm dev\n\npnpm db:generate\n\n ```\n\n### 2. Pushing the scripts to Neon using Drizzle ORM\n```\npnpm drizzle-kit migrate\n\n```\nif you get the error of `pg` not installed you can simply do `npm add pg -D`\n\n\n**DISCLAIMER!** If this doesn't work, kindly check my `package.json` to adjust the version of drizzle you're using.\n\n# Screenshots\n![Screenshot from 2024-07-09 09-58-27](https://github.com/samuelsenerwa/Lingual/assets/66512735/f7885803-cd5e-4e77-9a62-8adbdf869824)\n\n# LICENSE\nThe project is licensed by GNU GENERAL PUBLIC LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelsenerwa%2Flingual","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelsenerwa%2Flingual","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelsenerwa%2Flingual/lists"}