{"id":15192400,"url":"https://github.com/roc41d/graphql-api-with-nodejs-mongodb-lambda","last_synced_at":"2026-03-03T09:31:33.768Z","repository":{"id":239227822,"uuid":"798381875","full_name":"roc41d/graphql-api-with-nodejs-mongodb-lambda","owner":"roc41d","description":"Graph QL API with Nodejs, Mongodb and AWS Lambda","archived":false,"fork":false,"pushed_at":"2024-05-10T21:38:17.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T21:17:48.550Z","etag":null,"topics":["api","aws","aws-lambda","graphql","graphql-api","mongodb","mongoose","nodejs"],"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/roc41d.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":"2024-05-09T17:01:04.000Z","updated_at":"2024-05-10T21:38:20.000Z","dependencies_parsed_at":"2024-11-12T11:02:27.769Z","dependency_job_id":"4fcb3791-a36f-4e3b-a53f-618ea102c107","html_url":"https://github.com/roc41d/graphql-api-with-nodejs-mongodb-lambda","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"3daf2b6576cb9589cfcf91c7a02806053590a66f"},"previous_names":["roc41d/graphql-api-with-nodejs-mongodb-lambda"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roc41d/graphql-api-with-nodejs-mongodb-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roc41d%2Fgraphql-api-with-nodejs-mongodb-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roc41d%2Fgraphql-api-with-nodejs-mongodb-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roc41d%2Fgraphql-api-with-nodejs-mongodb-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roc41d%2Fgraphql-api-with-nodejs-mongodb-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roc41d","download_url":"https://codeload.github.com/roc41d/graphql-api-with-nodejs-mongodb-lambda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roc41d%2Fgraphql-api-with-nodejs-mongodb-lambda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30039884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:58:30.252Z","status":"ssl_error","status_checked_at":"2026-03-03T06:58:15.329Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","aws","aws-lambda","graphql","graphql-api","mongodb","mongoose","nodejs"],"created_at":"2024-09-27T21:23:12.169Z","updated_at":"2026-03-03T09:31:33.736Z","avatar_url":"https://github.com/roc41d.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphql API with Nodejs, Mongodb and AWS Lambda\n\nThis project is a GraphQL API for a todo list application. It provides CRUD operations for managing todo items, including creating, reading, updating, and deleting todos. The API is built with Node.js, MongoDB, and AWS Lambda.\n\n## Features\n- GraphQL CRUD API for managing todo items\n- Data storage with MongoDB\n- Serverless architecture using AWS Lambda\n- Unit and integration tests with Jest\n- Deployment with Serverless Framework\n\n## Technologies\n- Node.js\n- MongoDB\n- GraphQL\n- AWS Lambda\n- Serverless Framework\n- Jest\n\n## Setup Locally\n\n### Prerequisites\n- [Node.js](https://nodejs.org/en/download)\n- [MongoDB](https://www.mongodb.com/cloud/atlas/register)\n- [AWS account](https://aws.amazon.com/resources/create-account/)\n\n\n\u003c!-- create a hypelink --\u003e\n### Installation\n1. Clone the repository\n```bash\ngit@github.com:roc41d/graphql-api-with-nodejs-mongodb-lambda.git\n```\n\n2. Install dependencies\n```bash\ncd graphql-api-with-nodejs-mongodb-lambda\nnpm install\n```\n\n3. Set up environment variables (copy the `.env.example` file to `.env` and update the values)\n```bash\ncp .env.example .env\ncp .env.example .env.production\n```\n\n4. Start the development server\n```bash\nnpm run dev\n```\nThe server will start locally at [http://localhost:4000/](http://localhost:4000/).\n\n\n## Deployment\nTo deploy the GraphQL API using AWS Lambda and API Gateway:\n\n1. Set up an AWS account if you haven't already and copy your `YOUR_ACCESS_KEY` and `YOUR_SECRET_KEY`.\n   \n2. Install the Serverless Framework globally:\n```bash\nnpm install -g serverless\n```\n\n3. Build the project:\n```bash\nnpm run build\n```\n\n4. Configure AWS credentials with the Serverless Framework:\n```bash\nserverless config credentials --provider aws --key YOUR_ACCESS_KEY --secret YOUR_SECRET_KEY\n```\n5. Deploy the API to AWS Lambda:\n```bash\nserverless deploy\n```\nThe Serverless Framework will deploy the API to AWS Lambda and provide you with the endpoint URL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froc41d%2Fgraphql-api-with-nodejs-mongodb-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froc41d%2Fgraphql-api-with-nodejs-mongodb-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froc41d%2Fgraphql-api-with-nodejs-mongodb-lambda/lists"}