{"id":25615193,"url":"https://github.com/wednesday-solutions/node-express-graphql-template","last_synced_at":"2025-07-18T16:07:27.823Z","repository":{"id":38285036,"uuid":"265935251","full_name":"wednesday-solutions/node-express-graphql-template","owner":"wednesday-solutions","description":"An enterprise Express GraphQL template application built using nodejs showcasing -  Testing Strategy, DB migrations and seeding, integration with an ORM, containerization using Docker, GraphQL Interface, support for GraphQL relay, integration with graphql-sequelize, support for aggregation queries, PostgreSQL","archived":false,"fork":false,"pushed_at":"2024-07-03T11:56:00.000Z","size":3275,"stargazers_count":35,"open_issues_count":45,"forks_count":30,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-13T21:13:12.977Z","etag":null,"topics":["docker","express","graphql","graphql-api-template","graphql-sequelize","join-monster","node-graphql-template","node-postgres-graphql-template","node-postgres-template","node-template","nodejs","postgres","relay"],"latest_commit_sha":null,"homepage":"https://wednesday.is/building-products/?utm_source=github\u0026utm_medium=node-exress-graphql-template","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/wednesday-solutions.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,"zenodo":null}},"created_at":"2020-05-21T19:33:09.000Z","updated_at":"2025-02-02T08:33:35.000Z","dependencies_parsed_at":"2025-04-13T21:13:16.868Z","dependency_job_id":"24ad22e2-2735-44b2-ac6b-4e939bff0426","html_url":"https://github.com/wednesday-solutions/node-express-graphql-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"wednesday-solutions/nodejs-hapi-template","purl":"pkg:github/wednesday-solutions/node-express-graphql-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fnode-express-graphql-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fnode-express-graphql-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fnode-express-graphql-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fnode-express-graphql-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wednesday-solutions","download_url":"https://codeload.github.com/wednesday-solutions/node-express-graphql-template/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wednesday-solutions%2Fnode-express-graphql-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265791721,"owners_count":23829165,"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":["docker","express","graphql","graphql-api-template","graphql-sequelize","join-monster","node-graphql-template","node-postgres-graphql-template","node-postgres-template","node-template","nodejs","postgres","relay"],"created_at":"2025-02-22T03:18:50.640Z","updated_at":"2025-07-18T16:07:27.463Z","avatar_url":"https://github.com/wednesday-solutions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"left\" src=\"https://github.com/wednesday-solutions/node-express-graphql-template/blob/develop/node_express_graphql_template_github.svg\" width=\"480\" height=\"620\" /\u003e\n\n\u003cdiv\u003e\n  \u003ca href=\"https://www.wednesday.is/?utm_source=github\u0026utm_medium=node-express-graphql-template\" align=\"left\" style=\"margin-left: 0;\"\u003e\n    \u003cimg src=\"https://uploads-ssl.webflow.com/5ee36ce1473112550f1e1739/5f5879492fafecdb3e5b0e75_wednesday_logo.svg\"\u003e\n  \u003c/a\u003e\n  \u003cp\u003e\n    \u003ch1 align=\"left\"\u003eNode Express GraphQL Template\n    \u003c/h1\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\nAn enterprise Express GraphQL template application built using nodejs showcasing - Testing Strategy, DB migrations and seeding, integration with an ORM, containerization using Docker, GraphQL Interface, support for GraphQL relay, integration with graphql-sequelize, support for aggregation queries, PostgreSQL\n  \u003c/p\u003e\n\n---\n\n  \u003cp\u003e\n    \u003ch4\u003e\n      Expert teams of digital product strategists, developers, and designers.\n    \u003c/h4\u003e\n  \u003c/p\u003e\n\n  \u003cdiv\u003e\n    \u003ca href=\"https://www.wednesday.is/contact-us/?utm_source=github\u0026utm_medium=node-express-graphql-template\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://uploads-ssl.webflow.com/5ee36ce1473112550f1e1739/5f6ae88b9005f9ed382fb2a5_button_get_in_touch.svg\" width=\"121\" height=\"34\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/wednesday-solutions/\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://uploads-ssl.webflow.com/5ee36ce1473112550f1e1739/5f6ae88bb1958c3253756c39_button_follow_on_github.svg\" width=\"168\" height=\"34\"\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\n---\n\n\u003cspan\u003eWe’re always looking for people who value their work, so come and join us. \u003ca href=\"https://www.wednesday.is/hiring/?utm_source=github\u0026utm_medium=node-express-graphql-template\"\u003eWe are hiring!\u003c/a\u003e\u003c/span\u003e\n\n\u003c/div\u003e\n\n![Node Express GraphQL Template CI](https://github.com/wednesday-solutions/node-express-graphql-template/workflows/Node%20Express%20GraphQL%20Template%20CI/badge.svg)\n\n\u003cdiv\u003e\n\u003cimg src='./badges/badge-statements.svg' height=\"20\"/\u003e\n\u003cimg src='./badges/badge-branches.svg' height=\"20\"/\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003cimg src='./badges/badge-lines.svg'  height=\"20\"/\u003e\n\u003cimg src='./badges/badge-functions.svg' height=\"20\"/\u003e\n\u003c/div\u003e\n\n##\n\n  \u003cp\u003e\n    \u003ch3 align=\"left\"\u003eBuilt using \u003ca href=\"https://github.com/wednesday-solutions/negt-cli/blob/develop/README.md\" target=\"_blank\"\u003eNegt CLI\u003c/a\u003e\n    \u003c/h3\u003e\n  \u003c/p\u003e\n\n## A relay compliant server built using\n\n- Node\n- Express\n- Postgres\n- GraphQL\n- Docker\n\n## Out of the box support for \n- Containerization using Docker\n- Multi layered docker image support\n- CI pipeline that runs on every pull request\n- Simply add in the github secrets and uncomment the [cd.yml](.github/workflows/cd.yml) to deploy to ECS\n- GraphQL relay compliant server\n- RBAC auth middleware\n- Out of the box support to run database migrations and seeders using sequelize\n- Multi environment support using the dotenv library\n- precommit hooks to run tests\n- docker-compose to run the application without installing additional db, and cache infrastructure\n- Autogenerate queries and mutations based on GQL models \n- Support for circuit breaking has been added using [opossum](https://github.com/nodeshift/opossum)\n- Support for sending slack alerts on desired errors has been added using [slack-notify](https://www.npmjs.com/package/slack-notify)\n- Support for caching added with [redis](https://redis.io/)\n- Support for custom mutations has been added along with support for updating only specific fields\n- Support for adding a job and queuing it has been added using [bull](https://github.com/OptimalBits/bull)\n- GraphQl subscriptions have been added using [apollo-server](https://www.npmjs.com/package/apollo-server-express) \u0026 [graphql-redis-subscriptions](https://www.npmjs.com/package/graphql-redis-subscriptions)\n- Support for caching of aggregate data added using Redis\n\n## Dependencies\n\n### graphql-sequelize\n\nPlease go through the [documentation](https://github.com/mickhansen/graphql-sequelize) to understand the control flow.\n\nRelay support has been added by following [this](https://github.com/mickhansen/graphql-sequelize/blob/master/docs/relay.md) documentation\n\n## Setup\n\n### Setting up database (postgres)\n\n- Requirement [postgresql](https://www.postgresql.org/)\n\nSteps to set up database with `username` and `role` using terminal\n\n- Enter postgres terminal `psql postgres`\n- Create new database `CREATE DATABASE reporting_dashboard_dev;`\n- Create a new role with password `CREATE ROLE reporting_dashboard_role WITH LOGIN PASSWORD 'reportingdashboard123';`\n\n### Setup and run locally using\n\n```\n./scripts/setup-local.sh\n```\n\n### Build and run docker container locally\n\n```\ndocker-compose down\ndocker-compose build\ndocker-compose up\n```\n\n### Develop locally\n\n```\nyarn start:local\n```\n\n### Start dev server\n\n```\nyarn dev\n```\n\n### Start prod server\n\n```\nyarn prod\n```\n\n### Build the application\n\n```\nyarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwednesday-solutions%2Fnode-express-graphql-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwednesday-solutions%2Fnode-express-graphql-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwednesday-solutions%2Fnode-express-graphql-template/lists"}