{"id":26574036,"url":"https://github.com/geekrishabh/expressts-graphql-todo","last_synced_at":"2026-04-07T20:32:22.787Z","repository":{"id":50221686,"uuid":"210833846","full_name":"geekrishabh/ExpressTS-Graphql-todo","owner":"geekrishabh","description":"This is a todo application for building GraphQL in Node.js using ES6 and Express with JWT Authentication \u0026 typescript with auth","archived":false,"fork":false,"pushed_at":"2021-06-01T14:36:04.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T14:43:22.060Z","etag":null,"topics":["authorization","express-graphql","express-js","express-typescript","graphiql","graphql","jwt","mongodb","moongose","typescript"],"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/geekrishabh.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-09-25T11:58:52.000Z","updated_at":"2023-03-04T08:37:27.000Z","dependencies_parsed_at":"2022-08-27T18:52:48.674Z","dependency_job_id":null,"html_url":"https://github.com/geekrishabh/ExpressTS-Graphql-todo","commit_stats":null,"previous_names":["rishabh-pandey-sternx/expressts-graphql-todo","geekrishabh/expressts-graphql-todo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geekrishabh/ExpressTS-Graphql-todo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekrishabh%2FExpressTS-Graphql-todo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekrishabh%2FExpressTS-Graphql-todo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekrishabh%2FExpressTS-Graphql-todo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekrishabh%2FExpressTS-Graphql-todo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekrishabh","download_url":"https://codeload.github.com/geekrishabh/ExpressTS-Graphql-todo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekrishabh%2FExpressTS-Graphql-todo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authorization","express-graphql","express-js","express-typescript","graphiql","graphql","jwt","mongodb","moongose","typescript"],"created_at":"2025-03-23T01:32:52.595Z","updated_at":"2026-04-07T20:32:22.771Z","avatar_url":"https://github.com/geekrishabh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Graphql-Express-MongoDB Todo With Auth\n\n### Overview\n\nThis is a todo application for building GraphQL in Node.js using ES6 and Express with JWT Authentication \u0026 typescript\n\n### Getting Started\n\nClone the repo:\n\n```sh\ngit clone git@github.com:GeekRishabh/ExpressTS-Graphql-todo.git\ncd ExpressTS-Graphql-todo\n```\n\nInstall yarn:\n\n```js\nnpm install -g yarn\n```\n\nInstall Mongo:\n\n```bash\nbrew install mongodb\n```\n\nInstall dependencies:\n\n```sh\nyarn\n```\n\nSet environment (vars):\n\n```sh\ncp .env.example .env\n```\n\n_Note:-_ Create a `.logs` folder at the root level of project \u0026 Mongodb is running.\n\nStart server:\n\n```sh\n# Start server\nyarn start\n\n# Selectively set DEBUG env var to get logs\nDEBUG=express-graphql-todo:* yarn start\n```\n\nRefer [debug](https://www.npmjs.com/package/debug) to know how to selectively turn on logs.\n\n##### Deployment\n\n```sh\n# compile to ES5\n1. yarn build\n\n# upload dist/ to your server\n\n# install production dependencies only\n2. yarn --production\n\n# Use any process manager to start your services\n3. pm2 start dist/index.js\n```\n\nIn production you need to make sure your server is always up so you should ideally use any of the process manager recommended [here](http://expressjs.com/en/advanced/pm.html).\nWe recommend [pm2](http://pm2.keymetrics.io/) as it has several useful features like it can be configured to auto-start your services if system is rebooted.\n\n## Docker\n\n#### Using Docker Compose for Development\n\n```sh\n# service restarts on file change\nbash bin/development.sh\n```\n\n#### Building and running without Docker Compose\n\n```bash\n# To use this option you need to make sure mongodb is listening on port 27017\n\n# Build docker\ndocker build -t express-graphql-todo .\n\n# Run docker\ndocker run -p 4040:4040 express-graphql-todo\n```\n\n### EndPoint\n\n• Public Graphql Endpoint\n`http://localhost:4040/graphql/public`\n\n• Protected Graphql Endpoint\n\n_Note:_ Please download [GraphiQL](https://github.com/skevy/graphiql-app) to get the protected route working .\n\n_Note:_ Need to pass Authorization Bearer Token in Header to access this endpoint obtained from public endpoint while Signup/Login.\n\n`http://localhost:4040/graphql/protected`\n\n#### List Of Queries \u0026 Mutations\n\n• [Click Me](./LIST.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekrishabh%2Fexpressts-graphql-todo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekrishabh%2Fexpressts-graphql-todo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekrishabh%2Fexpressts-graphql-todo/lists"}