{"id":21296183,"url":"https://github.com/dukeferdinand/capychat-api","last_synced_at":"2025-03-15T17:21:57.103Z","repository":{"id":65532438,"uuid":"569503846","full_name":"DukeFerdinand/capychat-api","owner":"DukeFerdinand","description":"The API for the capychat app","archived":false,"fork":false,"pushed_at":"2023-02-16T22:47:56.000Z","size":690,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T07:16:44.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"capybara-api-lilac.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DukeFerdinand.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}},"created_at":"2022-11-23T01:14:32.000Z","updated_at":"2022-11-28T07:18:40.000Z","dependencies_parsed_at":"2023-02-15T11:31:41.967Z","dependency_job_id":null,"html_url":"https://github.com/DukeFerdinand/capychat-api","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/DukeFerdinand%2Fcapychat-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DukeFerdinand%2Fcapychat-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DukeFerdinand%2Fcapychat-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DukeFerdinand%2Fcapychat-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DukeFerdinand","download_url":"https://codeload.github.com/DukeFerdinand/capychat-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243763236,"owners_count":20344189,"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":[],"created_at":"2024-11-21T14:21:07.952Z","updated_at":"2025-03-15T17:21:57.079Z","avatar_url":"https://github.com/DukeFerdinand.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Capybara Chat - API\n\n![](https://api.checklyhq.com/v1/badges/checks/06e6203a-13ba-40d2-b57e-21699144479a?style=flat\u0026theme=default\u0026responseTime=true)\n\n---\n\nThis the is API and GraphQL provider for the [Capybara Chat](https://github.com/DukeFerdinand/capybara-chat) application. This service is built using:\n\n- [TypeScript](https://www.typescriptlang.org/)\n- [Express](https://expressjs.com/)\n- [Prisma](https://www.prisma.io/)\n- [Apollo Server](https://www.apollographql.com/docs/apollo-server/)\n- [MongoDB](https://www.mongodb.com/)\n- [Vercel Functions](https://vercel.com/docs/serverless-functions/introduction)\n\nAnd of course, hosted on [Vercel](https://vercel.com/).\n\n## Getting Started\n\nWhile this is not really intended to be a public project, you can still use it as a reference for your own projects.\nTo get started, you'll need to have the following installed:\n\n- [Node.js](https://nodejs.org/en/)\n- [Yarn](https://yarnpkg.com/)\n- [MongoDB](https://www.mongodb.com/) or just a hosted MongoDB instance like I do\n- *A local clone of the [Capybara Chat](https://github.com/DukeFerdinand/capybara-chat) repository\n\n*Semi-optional, but recommended so you can test the API with the client.\n\n\n### Installation\n\n1. Clone the repo\n   ```sh\n   git clone\n    ```\n2. Create a `.env` file in the root of the project and add the following:\n   ```sh\n   echo DATABASE_URL=\u003cyour-mongodb-uri\u003e \u003e\u003e .env\n   ```\n3. Install NPM packages\n    ```sh\n    yarn install\n    ```\n4. Generate the Prisma client\n    ```sh\n    yarn prisma generate\n    ```\n5. Run the development server\n    ```sh\n    yarn dev\n    ```\n\nNow you can make requests to the GraphQL API at `http://localhost:3000/graphql` or the normal API at `http://localhost:3000/\u003cwhatever-route\u003e`.\n   \n## Usage\n\nThis project is intended to be used with the [Capybara Chat](https://github.com/DukeFerdinand/capybara-chat) project.\nYou're more than welcome to create your own client of course, but you'll need to make sure you're hosting this API\nsomewhere as the production client is configured to use the non-public production API.\n\n## Copyright\n\nI'm intentionally NOT locking this behind a closed source license. Let me know what you build, and even consider hiring\nme if you're a company looking for a developer. I'm a Freelancer who is always looking for new projects to work on.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdukeferdinand%2Fcapychat-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdukeferdinand%2Fcapychat-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdukeferdinand%2Fcapychat-api/lists"}