{"id":17040970,"url":"https://github.com/uggla/superheros","last_synced_at":"2026-02-06T14:11:13.079Z","repository":{"id":37185970,"uuid":"203387773","full_name":"uggla/superheros","owner":"uggla","description":"Demo API written in Rust with Actix-web and Diesel","archived":false,"fork":false,"pushed_at":"2023-06-14T16:12:36.000Z","size":5409,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T19:22:55.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/uggla.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":"2019-08-20T13:59:39.000Z","updated_at":"2020-05-01T21:32:06.000Z","dependencies_parsed_at":"2024-10-14T09:11:05.680Z","dependency_job_id":"732601fa-d7fe-4352-a625-7360b9fa3394","html_url":"https://github.com/uggla/superheros","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"0cc36ba9810b0ac8342ec187ecbf2047265d6a75"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uggla/superheros","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Fsuperheros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Fsuperheros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Fsuperheros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Fsuperheros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uggla","download_url":"https://codeload.github.com/uggla/superheros/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Fsuperheros/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29164525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T12:44:37.655Z","status":"ssl_error","status_checked_at":"2026-02-06T12:44:13.991Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-10-14T09:11:00.487Z","updated_at":"2026-02-06T14:11:13.056Z","avatar_url":"https://github.com/uggla.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust superheros api\n\nDemo API written in Rust with Actix-web and Diesel.\u003cbr/\u003e\nA simple Continuous Integration was configured as an example.\n\u003cbr/\u003e\n\u003cbr/\u003e\n[![Build Status](https://travis-ci.org/uggla/superheros.svg?branch=master)](https://travis-ci.org/uggla/superheros)\n\n## Managing the application\n\nAll commands must be run from the root of the project.\n\n### Run the application\n```\ndocker-compose up -d\n```\n\n### Stop the application\n```\ndocker-compose down\n```\n\n### Rebuild the application\n```\ndocker-compose up -d --build\n```\n### Integration tests\n```\ncd robotframework \u0026\u0026 docker run --rm -v $(pwd)/reports:/opt/robotframework/reports:Z -v $(pwd)/tests:/opt/robotframework/tests:Z -e BROWSER=firefox --shm-size=2g --network=host ppodgorsek/robot-framework:latest\n```\n\n## Local setup to get a faster feedback loop\n\nRust and Cargo must be installed. The Postgres database will be run using a docker container.\n\n### Create a local postgres db:\n```\necho \"DATABASE_URL=postgres://uggla:superheros@localhost/superheros\" \u003e.env\ndocker run -d -p 5432:5432 -v $PWD/data:/tmp/data -e POSTGRES_USER=uggla -e POSTGRES_PASSWORD=superheros --name superheros postgres\ndiesel setup\n```\n\n### Populate DB\n```\ndiesel migration run\n```\n### Building the application\n\nSystem must be connected to the internet in order to get the required crates (packages). The compilation can be long depending on system configuration.\n\nDebug version\n```\ncargo build\n```\nRelease version\n```\ncargo build --release\n```\n### Running the application\n\nDebug version\n```\ncargo run\n```\nRelease version\n```\ncargo run --release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuggla%2Fsuperheros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuggla%2Fsuperheros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuggla%2Fsuperheros/lists"}