{"id":16418954,"url":"https://github.com/artur-sulej/sandbox","last_synced_at":"2025-06-18T08:36:44.513Z","repository":{"id":46885129,"uuid":"515714332","full_name":"Artur-Sulej/sandbox","owner":"Artur-Sulej","description":"Sandbox app that returns data mimicking production API. All data is generated without any persistence.","archived":false,"fork":false,"pushed_at":"2022-07-20T08:45:23.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T22:53:05.446Z","etag":null,"topics":["elixir","phoenix-framework","testing"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/Artur-Sulej.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}},"created_at":"2022-07-19T19:21:06.000Z","updated_at":"2022-07-19T20:22:53.000Z","dependencies_parsed_at":"2022-08-31T07:22:41.671Z","dependency_job_id":null,"html_url":"https://github.com/Artur-Sulej/sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Artur-Sulej/sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fsandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fsandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fsandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fsandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Artur-Sulej","download_url":"https://codeload.github.com/Artur-Sulej/sandbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fsandbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260520257,"owners_count":23021571,"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":["elixir","phoenix-framework","testing"],"created_at":"2024-10-11T07:15:29.396Z","updated_at":"2025-06-18T08:36:39.479Z","avatar_url":"https://github.com/Artur-Sulej.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sandbox\n\n## How to run?\n\n### Local\nTo start your Phoenix server locally:\n  * Install dependencies with `mix deps.get`\n  * Start Phoenix endpoint with `mix phx.server`\n  * Server is running on [`localhost:4000`](http://localhost:4000)\n\n### Tests\nTo run all `ExUnit` tests:\n   * Install dependencies with `mix deps.get`\n   * Run `mix test`\n\n### Production\nTo generate release:\n  * Install dependencies with `mix deps.get --only prod`\n  * Assemble release with `MIX_ENV=prod mix release`\n\nTo start your Phoenix with production setup:\n  * `PHX_SERVER=true PHX_HOST=localhost PORT=4000 SECRET_KEY_BASE=secret_key_base _build/prod/rel/sandbox/bin/sandbox start`\n  * With default settings, server is running on [`localhost:4000`](http://localhost:4000)\n\n## Authentication\n* Use this script to generate encoded token: `elixir scripts/generate_token.exs test_123456`\n* Add header to the request: `Authorization: Basic \u003cgenerated_string\u003e`\n\n### Example request\n```shell\ncurl --request GET \\\n--url http://localhost:4000/accounts \\\n--header 'Authorization: Basic dGVzdF8xMjM0NTY6'\n```\n## Metrics dashboard\nYou can visit [`/metrics`](http://localhost:4000/metrics) to see LiveView metrics with requests count.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartur-sulej%2Fsandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartur-sulej%2Fsandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartur-sulej%2Fsandbox/lists"}