{"id":25467998,"url":"https://github.com/peterleiva/community-server","last_synced_at":"2025-11-04T09:30:28.784Z","repository":{"id":37551988,"uuid":"399273740","full_name":"peterleiva/community-server","owner":"peterleiva","description":"WIP - Community is the server module for a forum application, also known as community, which connects people around a discussion topic to help each other ","archived":false,"fork":false,"pushed_at":"2024-06-05T21:01:47.000Z","size":7685,"stargazers_count":1,"open_issues_count":202,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-05T22:49:01.463Z","etag":null,"topics":["apollo","community","express","forum","graphql","nodejs","server"],"latest_commit_sha":null,"homepage":"https://community-graphql.herokuapp.com","language":"TypeScript","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/peterleiva.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-08-23T23:20:45.000Z","updated_at":"2023-03-07T07:48:43.000Z","dependencies_parsed_at":"2024-03-13T16:28:38.241Z","dependency_job_id":"cfefa59f-25c5-4b3c-a101-c634f9733251","html_url":"https://github.com/peterleiva/community-server","commit_stats":null,"previous_names":["peterleiva/community-server"],"tags_count":2,"template":false,"template_full_name":"peterleiva/create-graphql-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterleiva%2Fcommunity-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterleiva%2Fcommunity-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterleiva%2Fcommunity-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterleiva%2Fcommunity-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterleiva","download_url":"https://codeload.github.com/peterleiva/community-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239430078,"owners_count":19637375,"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":["apollo","community","express","forum","graphql","nodejs","server"],"created_at":"2025-02-18T07:36:53.708Z","updated_at":"2025-11-04T09:30:28.637Z","avatar_url":"https://github.com/peterleiva.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Community Server\n\n[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)\n[![Docker build](https://github.com/pherval/create-graphql-server/actions/workflows/docker.yml/badge.svg)](https://github.com/pherval/create-graphql-server/actions/workflows/docker.yml) [![Build and Test](https://github.com/pherval/create-graphql-server/actions/workflows/build_test.yml/badge.svg)](https://github.com/pherval/create-graphql-server/actions/workflows/build_test.yml)\n\nCommunity-server is the server module for a forum application, also\nknown as community, which connects people around a discussion\ntopic to help each other. The client can be found [here](https://github.com/pherval/community-client)\n\n## Environment Variables\n\nTo customize this project, you may add the following environment variables to your .env file in development environment\n\n| Variable                  |   Default   | Description                                          |\n| ------------------------- | :---------: | :--------------------------------------------------- |\n| `PORT`                    |  `\"3000\"`   | Server's port                                        |\n| `SENTRY_DNS`              | `undefined` | Sentry API Key to monitoring the app                 |\n| `APOLLO_KEY`              | `undefined` | Apollo API Key to track GraphQL schema               |\n| `APOLLO_GRAPH_ID`         | `undefined` | Apollo Graph ID                                      |\n| `APOLLO_GRAPH_VARIANT`    | `undefined` | Apollo Graph variant name. Usually an environment    |\n| `APOLLO_SCHEMA_REPORTING` | `undefined` | Indicates whether to push graphql schema to Apollo   |\n| `LOG_LEVEL`               |  `\"info\"`   | Log level can give you more information              |\n| `NO_LOG`                  |   `false`   | For security reasons you can disable logger          |\n| `DATABASE_URI`            | `undefined` | MongoDB URI to be connected                          |\n| `DEBUG`                   | `undefined` | [Debug](https://www.npmjs.com/package/debug) the app |\n\n## Run Locally\n\nRequirements:\n\n- [MongoDB](https://docs.mongodb.com/manual/installation/)\n- [node 16](https://nodejs.org/en/download/)\n\nClone the project\n\n```bash\n  git clone https://github.com/pherval/community-server\n```\n\nGo to the project directory\n\n```bash\n  cd community-server\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nBefore starting make sure MongoDB is running and proper set or in `/.env` has `DATABASE_URI` environment variable\n\n### Start the server\n\nBuild the app\n\n```bash\n  npm run build\n```\n\nthen start it\n\n```bash\n  npm run start\n```\n\n### Start in dev mode\n\n```bash\n  npm run dev\n```\n\n### Start using Docker\n\n- [ ] write script\n- [ ] write documentation\n\n## Running Tests\n\nTo run tests, run the following command\n\n```bash\n  npm run test\n```\n\n## Tech Stack\n\nnotable techs used:\n\n- Node\n- [Express.js](https://expressjs.com/)\n- [ApolloGraphQL](apollographql.com/docs/apollo-server)\n\n## Authors\n\n- [@pherval](https://www.github.com/pherval)\n\n## Contributing\n\n- [ ] write `contributing.md` guide\n\nContributions are always welcome!\n\nSee [`contributing.md`](/contributing.md) for ways to get started.\n\nPlease adhere to this project's `code of conduct`.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterleiva%2Fcommunity-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterleiva%2Fcommunity-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterleiva%2Fcommunity-server/lists"}