{"id":16661295,"url":"https://github.com/epicallan/webpack-graphql-typescript","last_synced_at":"2025-04-09T18:52:06.173Z","repository":{"id":82631000,"uuid":"93950589","full_name":"epicallan/webpack-graphql-typescript","owner":"epicallan","description":"An awesome webpack graphql typescript starter kit","archived":false,"fork":false,"pushed_at":"2017-06-10T17:09:35.000Z","size":16,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T20:51:13.216Z","etag":null,"topics":["expressjs","graphql","nodejs","typescript","webpack"],"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/epicallan.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":"2017-06-10T16:09:22.000Z","updated_at":"2024-01-18T11:16:28.000Z","dependencies_parsed_at":"2023-03-12T16:19:02.815Z","dependency_job_id":null,"html_url":"https://github.com/epicallan/webpack-graphql-typescript","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/epicallan%2Fwebpack-graphql-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fwebpack-graphql-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fwebpack-graphql-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epicallan%2Fwebpack-graphql-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epicallan","download_url":"https://codeload.github.com/epicallan/webpack-graphql-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248092792,"owners_count":21046551,"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":["expressjs","graphql","nodejs","typescript","webpack"],"created_at":"2024-10-12T10:34:26.633Z","updated_at":"2025-04-09T18:52:06.165Z","avatar_url":"https://github.com/epicallan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data hub graphql-server\n\n[![Build Status](https://travis-ci.org/epicallan/webpack-graphql-typescript.svg?branch=master)](https://travis-ci.org/epicallan/webpack-graphql-typescript)\n![Code Climate](https://codeclimate.com/github/epicallan/webpack-graphql-typescript.svg)\n[![codecov](https://codecov.io/gh/epicallan/webpack-graphql-typescript/branch/master/graph/badge.svg)](https://codecov.io/gh/epicallan/webpack-graphql-typescript)\n[![Dependency Status](https://gemnasium.com/badges/github.com/epicallan/webpack-graphql-typescript.svg)](https://gemnasium.com/github.com/epicallan/webpack-graphql-typescript)\n\nWebpack typescript Graphql server start kit inspired greatly by\n[DxCx/webpack-graphql-server](https://github.com/DxCx/webpack-graphql-server) that grew out of a need for a project I am working on.\n\nUseful commands:\n----\n    npm run build       - build the library files (Required for start:watch)\n    npm run build:watch - build the library files in watchmode (Useful for development)\n    npm start           - Start the server\n    npm run dev         - Start the server in watchmode (Useful for development)\n    npm test            - run tests once\n    npm run test:watch  - run tests in watchmode (Useful for development)\n    npm run gqlToTs     - builds out typescript types from your graphql types and puts them in src/types\nHow to run it:\n----\n```bash\n    yarn install --ignore-scripts\n    ## development mode\n    npm run dev\n    ## production\n    npm run build \u0026 npm start\n```\n\nFiles explained:\n----\n    1. src                         - directory is used for typescript code that is part of the project\n        1a. main.ts                - Main server file. (Starting Apollo server)\n        1c. dw/schema              - Contains modules used to build dataware house schemas\n            - modules/             - directory for modules\n    3. package.json                - file is used to describe the library\n    4. tsconfig.json               - configuration file for the library compilation\n    6. tslint.json                 - configuration file for the linter\n    8. webpack.config.js           - configuration file of the compilation automation process for the library\n    10. Dockerfile                 - Dockerfile used to describe how to make a container out of apollo server\n\n\nOutput files explained:\n----\n    1. node_modules - directory npm creates with all the dependencies of the module (result of npm install)\n    2. dist         - directory contains the compiled server (javascript)\n    3. html-report  - output of npm test, code coverage html report.\n\nDevelopment GuideLines\n\nTypescript requires types for external dependency. When you install a new run time dependency endevour to install types for it.\n```\n// eg\n$ yarn add --dev @types/fs-extra\n```\n\nTODO\n\n- [ ] add more guidlines\n- [ ] publisht to yeoman and neutrino\n- [ ] possibly move some of the library code into a separate npm package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicallan%2Fwebpack-graphql-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepicallan%2Fwebpack-graphql-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepicallan%2Fwebpack-graphql-typescript/lists"}