{"id":21707142,"url":"https://github.com/kareraolivier/flashcard_backend","last_synced_at":"2026-04-13T23:33:09.390Z","repository":{"id":51362217,"uuid":"518393770","full_name":"kareraolivier/flashcard_backend","owner":"kareraolivier","description":"This repository contain api for flash card app","archived":false,"fork":false,"pushed_at":"2024-02-11T07:59:50.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T01:04:55.541Z","etag":null,"topics":["apollo-server-express","graphql","nodejs","prisma","typescript"],"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/kareraolivier.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,"zenodo":null}},"created_at":"2022-07-27T09:31:27.000Z","updated_at":"2024-02-14T14:10:18.000Z","dependencies_parsed_at":"2025-06-06T19:45:53.848Z","dependency_job_id":null,"html_url":"https://github.com/kareraolivier/flashcard_backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kareraolivier/flashcard_backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareraolivier%2Fflashcard_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareraolivier%2Fflashcard_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareraolivier%2Fflashcard_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareraolivier%2Fflashcard_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kareraolivier","download_url":"https://codeload.github.com/kareraolivier/flashcard_backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareraolivier%2Fflashcard_backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31775862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: 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":["apollo-server-express","graphql","nodejs","prisma","typescript"],"created_at":"2024-11-25T22:15:48.350Z","updated_at":"2026-04-13T23:33:09.355Z","avatar_url":"https://github.com/kareraolivier.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Server Example (SDL-first)\n\nThis example shows how to implement an **GraphQL server (SDL-first) with TypeScript** with the following stack:\n\n- [**Apollo Server**](https://www.apollographql.com/docs/apollo-server): HTTP server for GraphQL APIs\n- [**Prisma Client**](https://www.prisma.io/docs/concepts/components/prisma-client): Databases access (ORM)\n- [**Prisma Migrate**](https://www.prisma.io/docs/concepts/components/prisma-migrate): Database migrations\n- [**SQLite**](https://www.sqlite.org/index.html): Local, file-based SQL database\n\n## Getting started\n\n### 1. Download example and install dependencies\n\nDownload this example:\n\n```\ncurl https://codeload.github.com/prisma/prisma-examples/tar.gz/latest | tar -xz --strip=2 prisma-examples-latest/typescript/graphql-sdl-first\n```\n\nInstall npm dependencies:\n\n```\ncd graphql-sdl-first\nnpm install\n```\n\n\u003cdetails\u003e\u003csummary\u003e\u003cstrong\u003eAlternative:\u003c/strong\u003e Clone the entire repo\u003c/summary\u003e\n\nClone this repository:\n\n```\ngit clone git@github.com:prisma/prisma-examples.git --depth=1\n```\n\nInstall npm dependencies:\n\n```\ncd prisma-examples/typescript/graphql-sdl-first\nnpm install\n```\n\n\u003c/details\u003e\n\n### 2. Create and seed the database\n\nRun the following command to create your SQLite database file. This also creates the `User` and `Post` tables that are defined in [`prisma/schema.prisma`](./prisma/schema.prisma):\n\n```\nnpx prisma migrate dev --name init\n```\n\nWhen `npx prisma migrate dev` is executed against a newly created database, seeding is also triggered. The seed file in [`prisma/seed.ts`](./prisma/seed.ts) will be executed and your database will be populated with the sample data.\n\n### 3. Start the GraphQL server\n\nLaunch your GraphQL server with this command:\n\n```\nnpm run dev\n```\n\nNavigate to [http://localhost:4000](http://localhost:4000) in your browser to explore the API of your GraphQL server in a [GraphQL Playground](https://github.com/prisma/graphql-playground).\n\n- Check out the [Prisma docs](https://www.prisma.io/docs)\n- Share your feedback in the [`prisma2`](https://prisma.slack.com/messages/CKQTGR6T0/) channel on the [Prisma Slack](https://slack.prisma.io/)\n- Create issues and ask questions on [GitHub](https://github.com/prisma/prisma/)\n- Watch our biweekly \"What's new in Prisma\" livestreams on [Youtube](https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareraolivier%2Fflashcard_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkareraolivier%2Fflashcard_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareraolivier%2Fflashcard_backend/lists"}