{"id":44060119,"url":"https://github.com/typical-developers/public-experience-api","last_synced_at":"2026-02-08T01:30:33.608Z","repository":{"id":257949509,"uuid":"862705790","full_name":"typical-developers/public-experience-api","owner":"typical-developers","description":"A public API to get data in Typical Developer experiences.","archived":false,"fork":false,"pushed_at":"2025-07-27T22:18:54.000Z","size":3851,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T23:28:39.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://public-api.typicaldevelopers.com","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/typical-developers.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":"2024-09-25T03:56:19.000Z","updated_at":"2025-07-14T00:34:48.000Z","dependencies_parsed_at":"2024-10-22T17:57:37.848Z","dependency_job_id":null,"html_url":"https://github.com/typical-developers/public-experience-api","commit_stats":null,"previous_names":["typical-developers/public-experience-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/typical-developers/public-experience-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typical-developers%2Fpublic-experience-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typical-developers%2Fpublic-experience-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typical-developers%2Fpublic-experience-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typical-developers%2Fpublic-experience-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typical-developers","download_url":"https://codeload.github.com/typical-developers/public-experience-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typical-developers%2Fpublic-experience-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29216084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-08T01:30:33.061Z","updated_at":"2026-02-08T01:30:33.604Z","avatar_url":"https://github.com/typical-developers.png","language":"TypeScript","readme":"# Public Experience API\nA public API to get data in Typical Developer experiences.\n\n# Prerequisites\n- Bun\n- Redis\n- Postgres\n\n# Deploying\nFor development, use `bun deploy:dev`. For production, use `bun deploy:prod` or `bun .` The server will be accessible on `127.0.0.1:3000`.\n\n# Using Container\nThe container, which is accessible by `@/setup/container`, is implemented to make usability easier. The purpose of the container is to implement methods on startup so they can be accessible across the whole project without any weird importing.\n\n### Accessing a Database Client\n```ts\nimport container from `@/lib/container`;\n\nconst client = await container.database.connect();\n\n// .. do stuff here\n\nawait client.release(); // Make sure you release the client back into the pool.\n```\n### Accessing the Redis instance\n```ts\nimport container from `@/lib/container`;\n\nconst cache = await container.redis.get('key');\n\n// .. do stuff here\n```\n\n### Extending the Container\nInside of `/src/setup`, you will notice a `container` folder. This is where all of the pieces reside. Inside of `/lib/types/types.d.ts`, you will notice a container type, this is where you where specify what can be in the container.\n\nTo extend off of the container, you *must* provide the types inside of the types file. Afterwards, you can make your container file, then add its import inside of `/src/setup/initalize.ts`.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypical-developers%2Fpublic-experience-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypical-developers%2Fpublic-experience-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypical-developers%2Fpublic-experience-api/lists"}