{"id":15423150,"url":"https://github.com/akimalunar/pretty-prism-node","last_synced_at":"2026-05-04T00:31:21.219Z","repository":{"id":75307419,"uuid":"109181513","full_name":"AkimaLunar/pretty-prism-node","owner":"AkimaLunar","description":"GraphQL API on Node.js, Express \u0026 Mongo (ES6 w/ Babel)","archived":false,"fork":false,"pushed_at":"2018-03-28T23:39:54.000Z","size":175,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T08:48:32.290Z","etag":null,"topics":["es6","express","graphql","graphql-subscriptions","nodejs"],"latest_commit_sha":null,"homepage":"http://api.prettyprism.com/playground","language":"JavaScript","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/AkimaLunar.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":"2017-11-01T20:39:07.000Z","updated_at":"2018-03-28T23:39:55.000Z","dependencies_parsed_at":"2023-06-06T02:15:38.534Z","dependency_job_id":null,"html_url":"https://github.com/AkimaLunar/pretty-prism-node","commit_stats":{"total_commits":63,"total_committers":1,"mean_commits":63.0,"dds":0.0,"last_synced_commit":"4542912bf87f483d03b442598c396d14d50bb54b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AkimaLunar/pretty-prism-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkimaLunar%2Fpretty-prism-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkimaLunar%2Fpretty-prism-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkimaLunar%2Fpretty-prism-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkimaLunar%2Fpretty-prism-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AkimaLunar","download_url":"https://codeload.github.com/AkimaLunar/pretty-prism-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AkimaLunar%2Fpretty-prism-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32590107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"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":["es6","express","graphql","graphql-subscriptions","nodejs"],"created_at":"2024-10-01T17:40:34.236Z","updated_at":"2026-05-04T00:31:21.198Z","avatar_url":"https://github.com/AkimaLunar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PrettyPrism: GraphQL Server\n\nGraphQL API on Node.js, Express \u0026 Mongo (ES6 w/ Babel)\nhttp://api.prettyprism.com/playground\n\n### Project setup\n\n1. Download the dependencies `yarn install`\n\n2. Create a `.env` file with environment variables:\n\n```\nPORT=8282\nDATABASE_URL=...\nJWT_SECRET=...\nJWT_EXPIRY=7d\nENV=...\nACCESS_KEY_ID=...\nSECRET_ACCESS_KEY=...\nBUCKET=...\nREGION=...\n```\n\n3. Run `yarn run dev`\n\n### Playground\n\nGraphiQL interface is available at http://localhost:8282/playground for\nreference and testing queries.\n\n### Nginx configuration\n\nThis configuration is required to establish a websocket connection with GraphQL\nSubscriptions.\n\n`/etc/nginx/nginx.conf`\n\n```\nhttp {\n        ...\n\n        map $http_upgrade $connection_upgrade {\n                default upgrade;\n                '' close;\n        }\n\n        ...\n}\n```\n\n`/etc/nginx/sites-available/api.prettyprism.com`\n\n```\nserver {\n        server_name api.prettyprism.com;\n        access_log /var/www/api/logs/access.log;\n        error_log /var/www/api/logs/error.log;\n\n        location / {\n                proxy_set_header Host $http_host;\n                proxy_set_header X-NginX-Proxy true;\n                proxy_pass http://127.0.0.1:8080;\n                proxy_redirect off;\n        }\n\n        location /subscriptions {\n                proxy_pass http://127.0.0.1:8080/subscriptions;\n                proxy_http_version 1.1;\n                proxy_set_header Upgrade $http_upgrade;\n                proxy_set_header Connection $connection_upgrade;\n        }\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakimalunar%2Fpretty-prism-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakimalunar%2Fpretty-prism-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakimalunar%2Fpretty-prism-node/lists"}