{"id":15513951,"url":"https://github.com/leojuriolli7/cluster-api","last_synced_at":"2026-04-14T04:01:38.837Z","repository":{"id":48968103,"uuid":"513648943","full_name":"leojuriolli7/cluster-api","owner":"leojuriolli7","description":"GraphQL API for a forum with posts, comments and authentication.","archived":false,"fork":false,"pushed_at":"2023-07-19T12:05:42.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T07:34:06.262Z","etag":null,"topics":["api","atlas","backend","express","forum","graphql","mongodb","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"cluster-api.vercel.app","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/leojuriolli7.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":"2022-07-13T19:36:50.000Z","updated_at":"2022-11-27T19:13:54.000Z","dependencies_parsed_at":"2024-11-02T05:40:49.535Z","dependency_job_id":"c511d5d5-4e78-4332-9fc2-b84b091cc6ee","html_url":"https://github.com/leojuriolli7/cluster-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leojuriolli7%2Fcluster-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leojuriolli7%2Fcluster-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leojuriolli7%2Fcluster-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leojuriolli7%2Fcluster-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leojuriolli7","download_url":"https://codeload.github.com/leojuriolli7/cluster-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247580346,"owners_count":20961588,"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":["api","atlas","backend","express","forum","graphql","mongodb","mongoose","nodejs"],"created_at":"2024-10-02T09:56:18.629Z","updated_at":"2026-04-14T04:01:33.811Z","avatar_url":"https://github.com/leojuriolli7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cluster-api\n\nThis is a GraphQL API for a forum, I am using it on my other project on the front end, a forum called \u003ca href=\"https://github.com/leojuriolli7/cluster/\"\u003eCluster\u003c/a\u003e. \n\nIt uses \u003ca href=\"https://nodejs.org/en/\"\u003eNodejs\u003c/a\u003e and \u003ca href=\"https://expressjs.com/\"\u003eExpress\u003c/a\u003e, \u003ca href=\"https://mongoosejs.com/\"\u003eMongoose\u003c/a\u003e for connecting with \u003ca href=\"https://www.mongodb.com/\"\u003eMongodb\u003c/a\u003e and \u003ca href=\"https://jwt.io/\"\u003eJWT\u003c/a\u003e for authentication.\n\nThe API has been deployed in production to Vercel as a [serverless function](https://vercel.com/docs/concepts/functions/serverless-functions).\n\n## Features:\n\n- User registration, login and authentication with JWT.\n\n- Option to create posts and comment in posts (if logged in).\n\n- Option to edit and delete posts (if logged in and if your user created them).\n\n- Option to edit and delete comments (if logged in and if your user created them).\n\n- Queries for comments and posts along with pagination.\n\n## Usage:\n\n1. Clone the repository:\n\n```bash\ngit clone git@github.com:leojuriolli7/cluster-api.git\n```\n\n2. Download dependencies:\n\n```bash\nnpm install\n```\n\n3. Add your environment variables to .env (Database url, username, password, JWT secret token)\n\n4. Connect your own database, have it ready (will need to alter the `db/index.js` file if not using MongoDB Atlas)\n\n5. Run the project:\n\n```bash\nnpm run dev\n```\n\n6. Access /graphql to test the API and to see the documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleojuriolli7%2Fcluster-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleojuriolli7%2Fcluster-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleojuriolli7%2Fcluster-api/lists"}