{"id":16096050,"url":"https://github.com/frenchbread/sn-server","last_synced_at":"2025-04-05T20:27:35.000Z","repository":{"id":153546626,"uuid":"104068984","full_name":"frenchbread/sn-server","owner":"frenchbread","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-01T22:12:51.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T19:36:47.687Z","etag":null,"topics":[],"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/frenchbread.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-09-19T11:57:30.000Z","updated_at":"2017-11-01T14:39:57.000Z","dependencies_parsed_at":"2023-05-19T09:45:12.784Z","dependency_job_id":null,"html_url":"https://github.com/frenchbread/sn-server","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"dae8db0623b928186a8b3aa40474945f33120846"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frenchbread%2Fsn-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frenchbread%2Fsn-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frenchbread%2Fsn-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frenchbread%2Fsn-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frenchbread","download_url":"https://codeload.github.com/frenchbread/sn-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247396381,"owners_count":20932321,"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":[],"created_at":"2024-10-09T17:10:19.986Z","updated_at":"2025-04-05T20:27:34.970Z","avatar_url":"https://github.com/frenchbread.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social Notifier Server\n\n\u003e API server for [sn-app](https://github.com/frenchbread/sn-app)\n\n## Configuration file \u0026 API keys\n\nPlace configuration to `src/config/index.js` that looks like this:\n\n```js\nexport default {\n  port: 8000,\n  env: 'development',\n  auth: {\n    secret: '\u003cjwt_secret\u003e'\n  },\n  database: {\n    local: 'mongodb://localhost/sn',\n    prod: ''\n  },\n  telegram: {\n    url: 'https://api.telegram.org/bot',\n    socials: {\n      twitter_token: '\u003ctwitter_token\u003e',\n      instagram_token: '\u003cinstagram_token\u003e',\n      vk_token: '\u003cvk_token\u003e',\n      youtube_token: '\u003cyoutube_token\u003e'\n    }\n  },\n  twitter: {\n    consumer_key: '',\n    consumer_secret: '',\n    access_token_key: '',\n    access_token_secret: ''\n  },\n  vk: {\n    appId: 123123,\n    appSecret: '',\n    userLogin: '',\n    userPassword: ''\n  }\n}\n```\n\n## Setup\n\n\u003e **Note:** SN-server requires MongoDB instance up and running.\n\n```bash\n# Install dependencies\n$ yarn install\n\n# Run in development\n$ yarn run dev\n\n# Build \u0026 Run for production\n$ yarn run build\n$ yarn run start\n```\n\n## TODO\n\n- [ ] Add guide explaining how to obtain API keys for social services.\n\n## LICENSE\n[MIT](https://github.com/frenchbread/sn-server/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrenchbread%2Fsn-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrenchbread%2Fsn-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrenchbread%2Fsn-server/lists"}