{"id":16192611,"url":"https://github.com/benawad/taco-apollo-postgres","last_synced_at":"2025-08-02T12:36:09.081Z","repository":{"id":20017291,"uuid":"79377921","full_name":"benawad/taco-apollo-postgres","owner":"benawad","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-20T09:57:34.000Z","size":28,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T23:07:06.687Z","etag":null,"topics":["feathersjs","graphql","nodejs","postgresql"],"latest_commit_sha":null,"homepage":null,"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/benawad.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}},"created_at":"2017-01-18T19:52:22.000Z","updated_at":"2022-08-15T23:42:55.000Z","dependencies_parsed_at":"2022-09-01T03:40:13.027Z","dependency_job_id":null,"html_url":"https://github.com/benawad/taco-apollo-postgres","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benawad/taco-apollo-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ftaco-apollo-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ftaco-apollo-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ftaco-apollo-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ftaco-apollo-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benawad","download_url":"https://codeload.github.com/benawad/taco-apollo-postgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Ftaco-apollo-postgres/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268390519,"owners_count":24243065,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["feathersjs","graphql","nodejs","postgresql"],"created_at":"2024-10-10T08:10:58.277Z","updated_at":"2025-08-02T12:36:09.048Z","avatar_url":"https://github.com/benawad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taco-apollo-postgres\n\n## Setup\n\nBegin by cloning the repository:  \n`git clone https://github.com/benawad/taco-apollo-postgres.git`\n\nSetup npm and install the dependencies for the project:  \n`npm install`\n\nCreate the database:  \n`sudo -u postgres createdb tacodb`\n\nThe project uses ES6 Javascript features and requires `babel-node`:  \n`npm install -g babel-cli`\n\nStart up the server:  \n`npm start`\n\nTo access the project navigate to:  \n`http://localhost:3030/graphiql`\n\n## Example Usage GraphiQL\n\nCreating a User:\n```\nmutation {\n  signUp(email: \"test5\", password: \"test5\") {\n    id\n  }\n}\n```\n\nLogging In as a User:\n```\nmutation {\n  loggin(email: \"test5\", password: \"test5\") {\n    token\n  }\n}\n```\n\nCreating a Taco:\n```\nmutation {\n  createTaco(meat: \"chicken\", cheese: \"cheddar\", salsa: \"hot\") {\n    id\n  }\n}\n```\n\n## Authentication\n\nCreate Queries by sending POST requests to `http://localhost:3030/graphql`\n\nTo create/access `secretBurritos` add a JWT token to the body of the POST request which is recieved when logging in.\n\n## Example Usage POST Requests\n\nCreate secretBurrito:\n```\n{\n\t\"query\": \"mutation { createSecretBurrito(size: \\\"huge\\\") { id } }\",\n\t\"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiaWF0IjoxNDg0NzY2NDk3LCJleHAiOjE0ODQ4NTI4OTcsImlzcyI6ImZlYXRoZXJzIn0.Yelj_wq0JJ8bQ-QwasVaX0qNef-9JK_79tvOY4A2suw\"\n}\n```\n\nGet all secretBurritos that user has created:\n```\n{\n\t\"query\": \"{ viewer { id secretBurritos { size } } }\",\n\t\"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiaWF0IjoxNDg0NzY1NzA5LCJleHAiOjE0ODQ4NTIxMDksImlzcyI6ImZlYXRoZXJzIn0.b6SCqZQD9PbaCQMslCpbQpGbm1GdwIdQarN3gUxRK-8\"\n}\n```\n\nLogin and get all secretBurritos that user has created:\n```\n{\n\t\"query\": \"mutation { loggin(email: \\\"test5\\\" password: \\\"test5\\\") { token data { secretBurritos { size } } } }\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawad%2Ftaco-apollo-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenawad%2Ftaco-apollo-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawad%2Ftaco-apollo-postgres/lists"}