{"id":19304258,"url":"https://github.com/lucasguiss/astronauts-nest","last_synced_at":"2026-05-02T18:38:57.035Z","repository":{"id":174693704,"uuid":"339236187","full_name":"lucasguiss/astronauts-nest","owner":"lucasguiss","description":"NestJs + GraphQL + MongoDB","archived":false,"fork":false,"pushed_at":"2021-02-21T19:42:33.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T23:43:19.066Z","etag":null,"topics":["backend","graphql","nestjs","nodejs","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/lucasguiss.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":"2021-02-15T23:34:00.000Z","updated_at":"2021-02-21T19:42:35.000Z","dependencies_parsed_at":"2023-07-07T13:31:42.086Z","dependency_job_id":null,"html_url":"https://github.com/lucasguiss/astronauts-nest","commit_stats":null,"previous_names":["lucasguiss/astronauts-nest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasguiss%2Fastronauts-nest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasguiss%2Fastronauts-nest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasguiss%2Fastronauts-nest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasguiss%2Fastronauts-nest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasguiss","download_url":"https://codeload.github.com/lucasguiss/astronauts-nest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240404755,"owners_count":19796064,"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":["backend","graphql","nestjs","nodejs","typescript"],"created_at":"2024-11-09T23:29:18.506Z","updated_at":"2026-05-02T18:38:52.001Z","avatar_url":"https://github.com/lucasguiss.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About the repository:\nProject to study the NestJs integration with GraphQL and MongoDB.\n\n## Requirements:\n- Nodejs\n- npm\n- MongoDB running locally\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n```\n## Examples:\n\nOn `http://localhost:3000/graphql` you will be able to see the GraphQL playground:\n![GraphQL-playground](graphql-playground.png)\n\n### Create Astronaut: \n```\nmutation {\n  createAstronaut(input: { name: \"Lucas\", surname: \"Guiss\", agency: \"Spacex\", age: 21}) {\n  \tid,\n    name,\n    surname,\n    agency,\n    age\n  }\n}\n```\n\n### Find All Astronauts:\n```\n{\n  findAllAstronauts{\n    id,\n    name,\n    surname,\n    agency,\n    age\n  }\n}\n```\n\nThe output should be something like this:\n```\n{\n  \"data\": {\n    \"findAllAstronauts\": [\n      {\n        \"id\": \"6032ac038af6b9202c916f72\",\n        \"name\": \"Lucas\",\n        \"surname\": \"Guiss\",\n        \"agency\": \"spacex\",\n        \"age\": 21\n      }\n    ]\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasguiss%2Fastronauts-nest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasguiss%2Fastronauts-nest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasguiss%2Fastronauts-nest/lists"}