{"id":22419678,"url":"https://github.com/sentclose/sentc-api","last_synced_at":"2025-08-01T04:31:44.520Z","repository":{"id":177945633,"uuid":"514676886","full_name":"sentclose/sentc-api","owner":"sentclose","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-03T12:17:11.000Z","size":2019,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-03T22:48:38.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sentc.com/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentclose.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-16T20:19:17.000Z","updated_at":"2024-08-03T12:17:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"bad2e968-c329-4422-8ff5-a322b160549d","html_url":"https://github.com/sentclose/sentc-api","commit_stats":null,"previous_names":["sentclose/sentc-api"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentclose","download_url":"https://codeload.github.com/sentclose/sentc-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228330057,"owners_count":17903019,"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-12-05T16:16:28.953Z","updated_at":"2024-12-05T16:16:29.641Z","avatar_url":"https://github.com/sentclose.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentc server\n\nFrom sentclose\n\nThis is the server api which manages the user, groups and keys. It comes with mysql/mariadb or sqlite support. \n\n## Commands\n\n### Default with maria db\n\nRunning the server\n````shell\ncargo run\n````\n\nRunning release\n````shell\ncargo run --release\n````\n\nIntegration tests. A maria db connection is needed.\n````shell\ncargo test  --test '*' -- --test-threads=1\n````\n\nUnit tests\n````shell\ncargo test --lib -- --test-threads=1\n````\n\nTest all\n````shell\ncargo test  -- --test-threads=1\n````\n\n### Sqlite\n\nRunning the server\n````shell\ncargo run --features=sqlite --no-default-features\n````\n\nRunning release\n````shell\ncargo run --features=sqlite --no-default-features --release\n````\n\nIntegration tests. A path to the sqlite db is needed in as env\n````shell\ncargo test --features=sqlite --no-default-features  --test '*' -- --test-threads=1\n````\n\nUnit tests\n````shell\ncargo test --lib --features=sqlite --no-default-features -- --test-threads=1\n````\n\nTest all\n````shell\ncargo test --features=sqlite --no-default-features -- --test-threads=1\n````\n\n## Dev\n\nFor dev, it is recommended to compile sqlite into a new target dir.\n\n````shell\ncargo run --features=sqlite --no-default-features --target-dir=target_sqlite\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentclose%2Fsentc-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentclose%2Fsentc-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentclose%2Fsentc-api/lists"}