{"id":27650660,"url":"https://github.com/fdemir/bean","last_synced_at":"2025-07-22T19:34:48.445Z","repository":{"id":208367078,"uuid":"721456856","full_name":"fdemir/bean","owner":"fdemir","description":"Simple setup for tRPC and Next.js(App Router).","archived":false,"fork":false,"pushed_at":"2023-11-21T05:14:32.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T03:44:48.652Z","etag":null,"topics":["nextjs-app-router","trpc","trpc-api"],"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/fdemir.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}},"created_at":"2023-11-21T05:13:48.000Z","updated_at":"2024-05-19T22:52:50.000Z","dependencies_parsed_at":"2023-11-21T06:35:40.278Z","dependency_job_id":null,"html_url":"https://github.com/fdemir/bean","commit_stats":null,"previous_names":["fdemir/bean"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/fdemir/bean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdemir%2Fbean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdemir%2Fbean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdemir%2Fbean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdemir%2Fbean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdemir","download_url":"https://codeload.github.com/fdemir/bean/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdemir%2Fbean/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266561448,"owners_count":23948632,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["nextjs-app-router","trpc","trpc-api"],"created_at":"2025-04-24T03:44:47.407Z","updated_at":"2025-07-22T19:34:48.419Z","avatar_url":"https://github.com/fdemir.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bean\n\nBean is an example of a simple setup for tRPC and Next.js(App Router). It demonstrates how to use tRPC with Next.js. The aim about this repo to demonstrate how to create simple TypeSafe APIs without schema files and type generation.\n\n## Overview\n\nHere are the core parts of this simple implementation and how you can use them in your own project. Project contained under the `src` folder. We have two main folders `app` and `server`.\n\n`app`: This folder contains the actual Next.js application.\n\n`server`: This folder contains the tRPC server, all your API endpoints will be defined here.\n\nHowever, there is an `api/trpc/[trpc]/route.ts` file under the `app` folder. This route handle tRPC requests. It's an simple implementation.\n\nAt the server folder. We have `trpc` file that init the tRPC server. And the `index` file initiate the router with the routes that we defined under the `routes` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdemir%2Fbean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdemir%2Fbean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdemir%2Fbean/lists"}