{"id":16309716,"url":"https://github.com/vinicius73/graphql-start-project","last_synced_at":"2025-07-29T10:09:54.563Z","repository":{"id":44156261,"uuid":"175853728","full_name":"vinicius73/graphql-start-project","owner":"vinicius73","description":"A project with opinionated architecture that is used as the basis for new projects.","archived":false,"fork":false,"pushed_at":"2023-01-11T01:47:39.000Z","size":2095,"stargazers_count":40,"open_issues_count":24,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-11T21:22:21.050Z","etag":null,"topics":["apollo-server","graphql","starter-kit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinicius73.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":"2019-03-15T16:16:57.000Z","updated_at":"2022-03-03T01:00:18.000Z","dependencies_parsed_at":"2023-02-08T22:01:23.254Z","dependency_job_id":null,"html_url":"https://github.com/vinicius73/graphql-start-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vinicius73/graphql-start-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius73%2Fgraphql-start-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius73%2Fgraphql-start-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius73%2Fgraphql-start-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius73%2Fgraphql-start-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinicius73","download_url":"https://codeload.github.com/vinicius73/graphql-start-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius73%2Fgraphql-start-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267668755,"owners_count":24124967,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","graphql","starter-kit"],"created_at":"2024-10-10T21:22:20.300Z","updated_at":"2025-07-29T10:09:54.542Z","avatar_url":"https://github.com/vinicius73.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Start Project\nA project with opinionated architecture that is used as the basis for new projects.\n\n## Requirements\nResources that must be installed for this project to work.\n\n- [node v10+](https://nodejs.org/en/download/)\n- [yarn v1.15+](https://yarnpkg.com/lang/en/docs/install/#debian-stable)\n- [docker](https://docs.docker.com/install/)\n- [docker-compose](https://docs.docker.com/compose/install/)\n\n## Stack\nPrimary libs and resources used in this project\n\n- [Apollo Server](https://github.com/apollographql/apollo-server)\n- [knex](https://knexjs.org/)\n- [awilix](https://github.com/jeffijoe/awilix)\n- [node-config](https://github.com/lorenwest/node-config)\n- [dotenv](https://github.com/motdotla/dotenv)\n- [pm2](https://pm2.io/doc/en/runtime/overview/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Redis](https://redis.io/)\n\n### Commit tool\nThis project use [gitmoji-cli](https://github.com/carloscuesta/gitmoji-cli) for commit messages\n\n## Project structure\n\n```\nsrc\n├── directives\n│   └── *.directive.js\n├── index.js\n├── resolvers\n│   ├── fields // fields resolvers\n│   ├── mutations // mutation resolvers\n│   └── resources.js // for auto ganeration\n├── server // server builder\n├── services\n│   ├── factories // services factories\n│   └── index.js\n├── type-defs\n│   └── *.graphql\n└── utils\n\n```\n\n## Running project\nThis project uses docker-compose to upload all the services it depends on to work.\n\n## Environments\nCopy `.env.example` to `.env` \n\n```shell\ncp .env.example .env\n```\n\n\u003e **APP_KEY** is very important. All tokens use this env. Do not change in production.\n\nSee `config/default.js` for more info.\n\n### dev mode\nUp service with auto reload when change source files\n\n```shell\nyarn run docker:dev\n```\n\nThe graphql server will bi aveilable in `http://localhost:7373` by default, see PORT env for confirmation.\n\nWhen docker up in dev mode, follow below commands will run.\n\n```shell\nyarn run knex:migrate\nyarn run knex:seed\n```\n\nThis commands configure and populate the database.\n\nSee `package.json \u003e scripts` for more info.\n\n\u003e If You need run commands inside container use `yarn run docker:dev:exec sh`\n\n#### pgadmin4\nWhen run project in development mode, pgadmin4 will be available in `http://localhost:16543`\nUse `local@local.dev` and value of `DB_PASSWORD` to access pgadmin4\n\n### prod mode\nUp to 2 pm2 service in cluster mode.\n\n```shell\nyarn run docker:prod\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinicius73%2Fgraphql-start-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinicius73%2Fgraphql-start-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinicius73%2Fgraphql-start-project/lists"}