{"id":21970063,"url":"https://github.com/scroll-tech/rollup-explorer-backend","last_synced_at":"2025-04-09T16:13:59.038Z","repository":{"id":160980663,"uuid":"518402894","full_name":"scroll-tech/rollup-explorer-backend","owner":"scroll-tech","description":"Scroll's Rollup Explorer Backend","archived":false,"fork":false,"pushed_at":"2024-10-11T07:57:22.000Z","size":363,"stargazers_count":55,"open_issues_count":6,"forks_count":12,"subscribers_count":17,"default_branch":"develop","last_synced_at":"2025-04-09T16:13:53.380Z","etag":null,"topics":[],"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/scroll-tech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-27T09:59:24.000Z","updated_at":"2025-04-04T02:25:15.000Z","dependencies_parsed_at":"2024-06-13T10:08:16.226Z","dependency_job_id":"4f0c94db-33a3-4a83-864a-d712b1da8729","html_url":"https://github.com/scroll-tech/rollup-explorer-backend","commit_stats":{"total_commits":96,"total_committers":14,"mean_commits":6.857142857142857,"dds":0.53125,"last_synced_commit":"063797f974fe25bf458bc0363ed7acc756d28603"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Frollup-explorer-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Frollup-explorer-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Frollup-explorer-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Frollup-explorer-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scroll-tech","download_url":"https://codeload.github.com/scroll-tech/rollup-explorer-backend/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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-11-29T14:30:34.431Z","updated_at":"2025-04-09T16:13:59.007Z","avatar_url":"https://github.com/scroll-tech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scroll's Rollup Explorer Backend\n\n[![Main Test Status][test-image]][test-link]\n[![Audit Status][audit-image]][audit-link]\n![Rust Nightly][rustc-image]\n\n## Purpose\n\nThis repo contains the backend code for the [Rollup Explorer](https://scroll.io/rollupscan) that's currently maintained by Scroll.\n\n## License\n\nMIT.\n\n## Contributing\n\nIf you encounter bugs or have feature ideas, feel free to [create an issue](/../../issues) or [write a PR](/../../pulls).\n\n## Prerequisites\n\nNaturally, you will need the [Rust toolchain] installed.\nBesides that, [goose] is necessary for external database migrations in `database` dictionary of [scroll].\n\n## ENV\n\n- `BIND_PORT`: Internal binding HTTP port (`5001` as default).\n- `DB_URL`: The database URL used to connect.\n- `OPEN_API_ADDR`: Open API URL displayed on Web UI.\n- `MAX_PER_PAGE`: Max value of query parameter `per_page` (100 as default)\n\n## Development\n\n- `make start`: Start a local `Postgres` docker-container, and `cargo run --bin rollup_explorer`. Then URL `http://0.0.0.0:5001` could be accessed in a Web browser.\n\n- `make stop`: Stop running `rollup_explorer` processes and `Postgres` docker-container. The `Postgres` data should also be cleared via deleting folder `docker-data`.\n\n- `make lint`: Format and lint codes.\n\n- `make shfmt`: Format Shell scripts.\n\n## Adding Mock Data\n\nRun the following:\n\n`psql postgres://postgres:scroll2022@localhost:5434/scroll -f db/tests/test.sql`\n\n## Deployment\n\nCurrently deployed by Scroll's devops and used by https://scroll.io/rollupscan.\n\n[//]: # \"badges\"\n[Rust toolchain]: https://rustup.rs\n[audit-image]: https://github.com/scroll-tech/rollup-explorer-backend/actions/workflows/audit.yml/badge.svg\n[audit-link]: https://github.com/scroll-tech/rollup-explorer-backend/actions/workflows/audit.yml\n[goose]: https://github.com/pressly/goose\n[rustc-image]: https://img.shields.io/badge/rustc-nightly-blue.svg\n[scroll]: https://github.com/scroll-tech/scroll\n[test-image]: https://github.com/scroll-tech/rollup-explorer-backend/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/scroll-tech/rollup-explorer-backend/actions/workflows/test.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Frollup-explorer-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscroll-tech%2Frollup-explorer-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Frollup-explorer-backend/lists"}