{"id":18823003,"url":"https://github.com/morzhanov/graphql-nodejs-boilerplate","last_synced_at":"2026-04-09T11:13:29.011Z","repository":{"id":122681187,"uuid":"134051375","full_name":"morzhanov/graphql-nodejs-boilerplate","owner":"morzhanov","description":" GraphQL NodeJS Boilerplate allows you to start new server side web project from scratch using NodeJS, Express, GraphQL and Typescript.","archived":false,"fork":false,"pushed_at":"2018-10-12T10:36:28.000Z","size":239,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T04:19:13.267Z","etag":null,"topics":["express","express-graphql","graphql","jsonwebtoken","lodash","nodejs","postgresql","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/morzhanov.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-19T10:15:26.000Z","updated_at":"2023-12-05T06:43:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"390e113f-844d-4b0c-950b-e4e92ba42a3d","html_url":"https://github.com/morzhanov/graphql-nodejs-boilerplate","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/morzhanov%2Fgraphql-nodejs-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fgraphql-nodejs-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fgraphql-nodejs-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morzhanov%2Fgraphql-nodejs-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morzhanov","download_url":"https://codeload.github.com/morzhanov/graphql-nodejs-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758895,"owners_count":19692040,"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":["express","express-graphql","graphql","jsonwebtoken","lodash","nodejs","postgresql","typeorm","typescript"],"created_at":"2024-11-08T00:52:21.412Z","updated_at":"2025-12-30T23:00:12.530Z","avatar_url":"https://github.com/morzhanov.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL NodeJS Boilerplate\n\n\u003cimg src=\"https://i.imgur.com/B7x0zvj.png\"/\u003e\n\nGraphQL NodeJS Boilerplate allows you to start new server side web project from scratch using NodeJS, Express, GraphQL and Typescript.\n\nAlso this boilerplate contains babel configuration to use all lates ES7+ features.\n\nThis is a backend part of GraphQL boilerplate projects. You can also review \u003ca href=\"https://github.com/VladMorzhanov/graphql-react-boilerplate\"\u003egraphql-react-boilerplate\u003c/a\u003e to see how things works on the client side.\n\n## Installation\n\nUse these steps to install project\n\n### Postgres DB\n\nThis boilerplate based on PostgreSQL database, but you can easily change it to any other preferable database. Project uses TypeORM as ORM for your database.\n\nYou can install Docker postgress image:\n\n\u003e docker run -p 5434:5434 --name graphql_boilerplate_db -d postgres:latest\n\nThan you should create database `graphql_boilerplate`\n\nDont forget to add Postgres connection credentials to .env file\n\nExample .env file:\n\n```\nDB_HOST=localhost\nDB_PORT=32768\nDB_USERNAME=postgres\nDB_PASSWORD=\nDB_DATABASE=graphql_boilerplate\n```\n\nFor local development use: `yarn run start`\n\nTo build project run: `yarn run build`\n\nTo serve built files run: `yarn run serve`\n\n## Usage\n\nIn this project you can review how could be designed and developed such basic parts of an application:\n\n- Authentication using JWT based on GraphQL mutations.\n- All API calls are secured with access token. You can manage live time of access token and refresh it with additional refresh token.\n- GraphQL mutations and queries using expres-graphql\n- All parts of application developed using Typescript, you can review how to use GraphQL with NodeJS and Typescript.\n- Project uses TypeOrm ORM to easily manage Postgress database from your NodeJS application.\n\n## Main technologies and libraries\n\n- \u003ca href=\"https://nodejs.org/en/\"\u003eNodeJS\u003c/a\u003e\n- \u003ca href=\"https://graphql.org/\"\u003eGraphQL\u003c/a\u003e\n- \u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL\u003c/a\u003e\n- \u003ca href=\"https://github.com/typeorm/typeorm\"\u003eTypeORM\u003c/a\u003e\n- \u003ca href=\"https://expressjs.com/\"\u003eExpressJS\u003c/a\u003e\n- \u003ca href=\"https://www.typescriptlang.org/\"\u003eTypescript\u003c/a\u003e\n- \u003ca href=\"https://jwt.io/\"\u003eJWT\u003c/a\u003e\n- \u003ca href=\"https://lodash.com/\"\u003eLodash\u003c/a\u003e\n\n## Contributing\n\n1.  Fork it!\n2.  Create your feature branch: `git checkout -b my-new-feature`\n3.  Commit your changes: `git commit -am 'Add some feature'`\n4.  Push to the branch: `git push origin my-new-feature`\n5.  Submit a pull request :D\n\n## Author\n\nVlad Morzhanov\n\n## License\n\n#### (The MIT License)\n\nCopyright (c) 2018 Vlad Morzhanov.\nYou can review license in the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorzhanov%2Fgraphql-nodejs-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorzhanov%2Fgraphql-nodejs-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorzhanov%2Fgraphql-nodejs-boilerplate/lists"}