{"id":45693602,"url":"https://github.com/cityofasheville/simplicity-graphql-server","last_synced_at":"2026-02-24T18:49:24.152Z","repository":{"id":11588167,"uuid":"70071967","full_name":"cityofasheville/simplicity-graphql-server","owner":"cityofasheville","description":"GraphQL Server for SimpliCity II","archived":false,"fork":false,"pushed_at":"2025-10-20T19:56:44.000Z","size":6182,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-20T21:25:52.600Z","etag":null,"topics":["simplicity"],"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/cityofasheville.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-10-05T15:10:24.000Z","updated_at":"2025-10-20T19:56:48.000Z","dependencies_parsed_at":"2024-01-25T20:29:45.253Z","dependency_job_id":"fbe3520e-0d73-43d3-8080-c0279df82a08","html_url":"https://github.com/cityofasheville/simplicity-graphql-server","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/cityofasheville/simplicity-graphql-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityofasheville%2Fsimplicity-graphql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityofasheville%2Fsimplicity-graphql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityofasheville%2Fsimplicity-graphql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityofasheville%2Fsimplicity-graphql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cityofasheville","download_url":"https://codeload.github.com/cityofasheville/simplicity-graphql-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityofasheville%2Fsimplicity-graphql-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29795514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T16:37:37.581Z","status":"ssl_error","status_checked_at":"2026-02-24T16:37:37.074Z","response_time":75,"last_error":"SSL_read: 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":["simplicity"],"created_at":"2026-02-24T18:49:23.567Z","updated_at":"2026-02-24T18:49:24.144Z","avatar_url":"https://github.com/cityofasheville.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpliCity GraphQL Server\n\nGraphQL backend Server for the SimpliCity system. \n\n## Usage\n### Prerequisites\n- Requires a file ```.env``` in the root directory based on ```env.example```.\n\n### Commands\n- Test Locally: \n  - ```npm start``` To use Bastion Server set runlocal=true in .env\n                    From the City network runlocal=false\n    - Endpoint will be the relevant port\n- Deploy: \n  - ```npm run deploy```\n- Destroy: (removes all objects from AWS)\n  - ```npm run destroy```\n- Clean:  (removes local temp files)\n  - ```npm run clean```\n\nBefore deploying, you need to create a copy of the example.deploy.yaml file and rename it to deploy.yaml. For a better example of the deploy.yaml file, check out the \"Secrets files for Apps that use Terraform Template\" google doc.\n\nIf you deploy and hit errors, aws resources **may still be created.** Don't forget to destroy them.\n\n\n### IMPORTANT DEPLOYMENT NOTES:\nThe Deploy/Destroy commands use the name of the active GitHub branch when creating AWS resources.\nFor example, if the active GitHub branch is \"feature\" and the name of the resource is \"template\", the resource is\nnamed \"template_feature\". For API gateway domains, it's \"feature-template.ashevillenc.gov\". Production (or main) branches do not get a prefix/suffix.\n\nThe API Server requires a second Route (/{proxy+} OPTIONS) that points to a separate Lambda return_204_for_options.\nThis is not yet included in Terraform, but it is just a simple Lambda like this:\n```\nexport const handler = async (event) =\u003e {\n  const response = {\n    statusCode: 204,\n    body: JSON.stringify('Hello from Lambda!'),\n  };\n  return response;\n};\n```\nTo hook up a domain name through Route53, point the CNAME to the \"API Gateway domain name\", which can be found under API Gateway/Custom Domain Names/(your domain name)/Configurations.\nIt looks like this:\nCNAME d-xxxxxxxxx.execute-api.us-east-1.amazonaws.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityofasheville%2Fsimplicity-graphql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcityofasheville%2Fsimplicity-graphql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityofasheville%2Fsimplicity-graphql-server/lists"}