{"id":19311300,"url":"https://github.com/raj-pulapakura/build-graphql-api","last_synced_at":"2026-05-16T15:30:58.221Z","repository":{"id":57191192,"uuid":"448224608","full_name":"raj-pulapakura/build-graphql-api","owner":"raj-pulapakura","description":"Build a beautiful, organised Graphql API with Typescript and Typeorm support, and pre-built examples, all with a single command!","archived":false,"fork":false,"pushed_at":"2022-01-16T23:58:17.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-26T19:48:22.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/raj-pulapakura.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}},"created_at":"2022-01-15T08:41:39.000Z","updated_at":"2023-08-04T08:14:30.000Z","dependencies_parsed_at":"2022-09-16T11:10:50.809Z","dependency_job_id":null,"html_url":"https://github.com/raj-pulapakura/build-graphql-api","commit_stats":null,"previous_names":["dialto1/build-graphql-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raj-pulapakura%2Fbuild-graphql-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raj-pulapakura%2Fbuild-graphql-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raj-pulapakura%2Fbuild-graphql-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raj-pulapakura%2Fbuild-graphql-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raj-pulapakura","download_url":"https://codeload.github.com/raj-pulapakura/build-graphql-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415215,"owners_count":19797599,"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-10T00:28:36.540Z","updated_at":"2026-05-16T15:30:53.194Z","avatar_url":"https://github.com/raj-pulapakura.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# build-graphql-api\n\n## Description\n\n```build-graphql-api``` allows you to construct an amazing Graphql API with the following built-in features:\n\n - Typescirpt\n - Typeorm (for database connections)\n\n## Usage\n\nRun the following command:\n\n```\nnpx build-graphql-api [DIR]\n```\n\n## Imporant Information\n\n### Configuring the database\n\nBefore starting the api, go to the ```.env``` file in the root directory and enter your database credentials. You can also change the port the server will run on. ***If you do not do this, the api will crash.***\n\nThe api uses ```mysql``` be default. To change this, head over to the ```config/db.ts``` file.\n\n### Cors\n\n```cors``` is already taken care of, but if you need to adjust the configuration, for e.g. adding a new origin, head over to the ```src/index.ts``` file.\n\n### Pre-built features\n\nThe api comes with 2 fully-functional features built-in: an Author model as well as a Book model. Feel free to delete these if you do not need them.\n\n### Starting the server\n\nFinally, to start the server, run the following command:\n\n```\nnpm run dev\n```\n\nThe api uses ```concurrently``` to run the typescript watcher and the nodemon server at the same time.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraj-pulapakura%2Fbuild-graphql-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraj-pulapakura%2Fbuild-graphql-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraj-pulapakura%2Fbuild-graphql-api/lists"}