{"id":46872195,"url":"https://github.com/symmetric-project/node-backend","last_synced_at":"2026-03-10T20:44:58.639Z","repository":{"id":47240275,"uuid":"403736773","full_name":"symmetric-project/node-backend","owner":"symmetric-project","description":"The backend for a Symmetric node. Reddit-like decentralized discussion platform.","archived":false,"fork":false,"pushed_at":"2021-10-18T20:09:47.000Z","size":234,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T19:17:11.551Z","etag":null,"topics":["backend","decentralized","discussion-platform","go","graphql","open-source","postgres","squirrel"],"latest_commit_sha":null,"homepage":"","language":"Go","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/symmetric-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.org","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-06T19:25:36.000Z","updated_at":"2024-06-20T19:17:11.552Z","dependencies_parsed_at":"2022-08-24T08:31:11.168Z","dependency_job_id":null,"html_url":"https://github.com/symmetric-project/node-backend","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/symmetric-project/node-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symmetric-project%2Fnode-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symmetric-project%2Fnode-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symmetric-project%2Fnode-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symmetric-project%2Fnode-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symmetric-project","download_url":"https://codeload.github.com/symmetric-project/node-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symmetric-project%2Fnode-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30353912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["backend","decentralized","discussion-platform","go","graphql","open-source","postgres","squirrel"],"created_at":"2026-03-10T20:44:58.414Z","updated_at":"2026-03-10T20:44:58.617Z","avatar_url":"https://github.com/symmetric-project.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![license](https://img.shields.io/github/license/symmetric-project/node-backend)\n![coverage](https://img.shields.io/github/license/symmetric-project/node-backend)\n![stars](https://img.shields.io/github/stars/symmetric-project/node-backend)\n![forks](https://img.shields.io/github/forks/symmetric-project/node-backend)\n![issues](https://img.shields.io/github/issues/symmetric-project/node-backend)\n\n# node-backend\nThe backend for a Symmetric node.\n\n## Contributing\nWe have a contributing guide over [here](CONTRIBUTING.org).\n\n## Community\nYou can contact us by joining our discord [here](https://discord.com/invite/AkSbP5JF).\n## To run the backend server you need to:\n\n### Create a PostgreSQL database with name of ```symmetric``` as well as set a password for the ```postgres``` user\n\n### Create an ```.env``` file which holds sensitive data like passwords, instructions for Linux (Ubuntu, macOS and more).\nCreate file by running this command:\n```\ntouch .env\n```\nEdit the file with any text editor and paste this:\n```\nMODE=dev\nDATABASE_URL=postgres://postgres:REPLACE_THIS_WITH_THE_PASSWORD_OF_THE_LOCAL_SYMMETRIC_DATABASE@localhost:5432/symmetric\nJWT_SECRET=REPLACE_THIS_WITH_A_RANDOMLY_GENEREATED_SHA256_STRING\nCOOKIE_DOMAIN_DEV=symmetric.localhost\nCOOKIE_DOMAIN_PROD=symmetric.REPLACE_THIS_WITH_THE_NODE_NAME.com\n```\nA way to generate a ```JWT_SECRET``` is to run the following command:\n```\nopenssl rand -base64 64\n```\nAfter running it, you should see get a random string which you can use as a ```JWT_SECRET```\n\n### Generate gqlgen\n\nRun `gqlgen generate` in the root folder. This will generate Go types from the `schema.graphqls` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymmetric-project%2Fnode-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymmetric-project%2Fnode-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymmetric-project%2Fnode-backend/lists"}