{"id":24822171,"url":"https://github.com/allansomensi/tickify-api","last_synced_at":"2026-04-12T12:41:35.630Z","repository":{"id":273542848,"uuid":"916077518","full_name":"allansomensi/tickify-api","owner":"allansomensi","description":"A simple API for managing support tickets, with JWT authentication. Made in Rust with Axum.","archived":false,"fork":false,"pushed_at":"2025-07-04T18:15:12.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T19:28:27.718Z","etag":null,"topics":["api","auth","crud","docker","just","jwt","mvc","openapi","postgresql","rust","sqlx","swagger-ui","ticket-management"],"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/allansomensi.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,"zenodo":null}},"created_at":"2025-01-13T12:16:04.000Z","updated_at":"2025-07-04T18:15:19.000Z","dependencies_parsed_at":"2025-05-15T15:34:39.382Z","dependency_job_id":"27f0ec8e-ebfc-4b66-be8a-16a5878660a3","html_url":"https://github.com/allansomensi/tickify-api","commit_stats":null,"previous_names":["allansomensi/tickify","allansomensi/tickify-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/allansomensi/tickify-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allansomensi%2Ftickify-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allansomensi%2Ftickify-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allansomensi%2Ftickify-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allansomensi%2Ftickify-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allansomensi","download_url":"https://codeload.github.com/allansomensi/tickify-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allansomensi%2Ftickify-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264726770,"owners_count":23654494,"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":["api","auth","crud","docker","just","jwt","mvc","openapi","postgresql","rust","sqlx","swagger-ui","ticket-management"],"created_at":"2025-01-30T18:26:44.509Z","updated_at":"2026-04-12T12:41:30.611Z","avatar_url":"https://github.com/allansomensi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tickify API 🎟\n\nTickify is a support ticket management API built in **Rust** using **Axum**. It allows to efficiently manage `support tickets`, `users`, and `authentication`.\n\n## Features\n- **CRUD** Operations for `Tickets` and `Users`\n- **JWT Authentication** for secure user login\n- **Role-based Access Control** (RBAC) for managing permissions\n- **Logging** to `console` and `files` for monitoring and debugging\n- **PostgreSQL** Database with `sqlx`\n- **Error Handling** using `thiserror` for structured and clear error messages\n- **MVC Architecture** for clean separation of concerns\n- **OpenAPI (Swagger)** Documentation auto-generated with `utoipa`\n- **Environment Variable** Configurations for easy environment management\n- **Data Validation** using `validator` for safe input\n- **Secure Password Encryption** with `argon2`\n- **CORS Support** to manage cross-origin requests\n- **Migrations** with `sqlx` for database versioning\n- **Utility scripts** with `just`\n- **Ticket export** to `PDF` and `CSV`\n\n---\n\n# Getting Started 🎯\n## Prerequisites:\n\n- **Rust** *(latest stable version)*\n- **Docker** and **Docker Compose**\n- **SQLX-cli** for migrations\n- **Cargo-watch** for auto-run\n- **Just** for scripts\n\n## 1. Installation\n\n``` bash\ngit clone https://github.com/allansomensi/tickify-api.git\ncd tickify\n```\n\nFor the scripts:\n``` elixir\ncargo install just\n```\n\nFor the migrations:\n``` elixir\ncargo install sqlx-cli\n```\n\nFor the auto-run:\n``` elixir\ncargo install cargo-watch\n```\n\n## 2. Build and run the Docker container:\n\n``` elixir\njust services-up\n```\n\n## 3. Start server 🚀 🚀 \n\n``` elixir\njust serve\n```\n\n---\n\n# Running Tests 👨‍🔬\n\nFor once:\n``` elixir\njust test\n```\n\nFor watching mode:\n``` elixir\njust test-watch\n```\n\n---\n\n## API Documentation 📚\n\nAPI endpoints and usage details are documented using `Swagger UI` and `OpenAPI` with `Utoipa`.\n\nThe full documentation is available in the `openapi.json` file, which can be accessed and imported as needed. Run the application and navigate to `/swagger-ui` to view the interactive Swagger documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallansomensi%2Ftickify-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallansomensi%2Ftickify-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallansomensi%2Ftickify-api/lists"}