{"id":15323851,"url":"https://github.com/StudyResearchProjects/whizzes-nexus-api","last_synced_at":"2025-10-09T10:31:51.447Z","repository":{"id":37886752,"uuid":"458966071","full_name":"StudyResearchProjects/whizzes-nexus-api","owner":"StudyResearchProjects","description":"Copy of @whizzes Nexus project which is now archived. Server-side solution for Nexus, a self-hosted social network","archived":true,"fork":false,"pushed_at":"2022-06-24T22:24:32.000Z","size":2990,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-13T04:52:16.084Z","etag":null,"topics":["api","backend","graphql","nexus","rocket","rust","server"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/StudyResearchProjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-14T00:17:42.000Z","updated_at":"2025-08-06T21:45:06.000Z","dependencies_parsed_at":"2022-08-20T01:01:21.676Z","dependency_job_id":null,"html_url":"https://github.com/StudyResearchProjects/whizzes-nexus-api","commit_stats":null,"previous_names":["leoborai/whizzes-nexus-api","estebanborai/whizzes-nexus-api","studyresearchprojects/whizzes-nexus-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StudyResearchProjects/whizzes-nexus-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fwhizzes-nexus-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fwhizzes-nexus-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fwhizzes-nexus-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fwhizzes-nexus-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StudyResearchProjects","download_url":"https://codeload.github.com/StudyResearchProjects/whizzes-nexus-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Fwhizzes-nexus-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001275,"owners_count":26083040,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","backend","graphql","nexus","rocket","rust","server"],"created_at":"2024-10-01T09:22:47.422Z","updated_at":"2025-10-09T10:31:50.309Z","avatar_url":"https://github.com/StudyResearchProjects.png","language":"Rust","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003enexus-api\u003c/h1\u003e\n  \u003ch4 align=\"center\"\u003eSelf-hosteable social network\u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Build](https://github.com/whizzbit/nexus-api/workflows/build/badge.svg)\n![Clippy](https://github.com/whizzbit/nexus-api/workflows/clippy/badge.svg)\n![Deploy](https://github.com/whizzbit/nexus-api/workflows/deploy/badge.svg)\n![Fmt](https://github.com/whizzbit/nexus-api/workflows/fmt/badge.svg)\n![Test](https://github.com/whizzbit/nexus-api/workflows/test/badge.svg)\n\n\u003c/div\u003e\n\n\u003e  Nexus formal definition: a relationship or connection between people or things. [Source][5].\n\n# Deployment\n\nThis application is published to a Heroku Dyno instance using the\n[emk/heroku-buildpack-rust][6] on every push to `main` [throught this action][7].\n\n# Development\n\n## Requirements\n\n- Rust and Cargo ([Rustup](https://rustup.rs))\n- [SQLx CLI](#setup-sqlx-for-database-migrations)\n\n## Getting Started\n\n1. Clone this repository\n\n```bash\ngit clone https://github.com/whizzbit/nexus-api.git\n```\n\n2. Create a copy of `.env.sample` in a new file with the name: `.env`\n\n```bash\ncp ./.env.sample ./.env\n```\n\n3. Execute Docker containers:\n\n\n```bash\ndocker compose up\n```\n\n4. Run database migrations running `sqlx migrate run`. [You must complete SQLx Setup First](#setup-sqlx-for-database-migrations).\n\n5. Open a new terminal session and run the server\n\n```bash\ncargo run\n```\n\n## Setup SQLx for Database Migrations\n\nInstall SQLx CLI using `cargo install` for PostgreSQL only\n\n```bash\ncargo install sqlx-cli --no-default-features --features native-tls,postgres\n```\n\n## GraphQL\n\nThe API exposed is build using async-graphql, which is a GraphQL implementation\nbuild for Rust.\n\nVisit the playground on [http://host:port/graphql][3], when running\nthe project locally.\n\n\u003e This GraphQL implementation uses the [Cursors Connections Pattern][2].\n\n### The `DateTime` scalar\n\nOur GraphQL gateway implements the `DateTime` scalar to specify date values.\nYou can read more on this scalar here: [DateTime][1].\n\n# Contributing\n\nEvery kind of contribution to this project is welcome, please, don't hesitate\nto open a Pull Request or Issue. I will be happy to help!\n\n[1]: https://www.graphql-scalars.com/date-time/#only-date-time\n[2]: https://relay.dev/graphql/connections.htm\n[3]: http://0.0.0.0:7878/graphql\n[4]: https://askubuntu.com/a/713442\n[5]: https://www.merriam-webster.com/dictionary/nexus\n[6]: https://github.com/emk/heroku-buildpack-rust.git\n[7]: https://github.com/whizzbit/nexus-api/blob/main/.github/workflows/deploy.yml\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStudyResearchProjects%2Fwhizzes-nexus-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStudyResearchProjects%2Fwhizzes-nexus-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStudyResearchProjects%2Fwhizzes-nexus-api/lists"}