{"id":28479304,"url":"https://github.com/rayato159/quests-tracker","last_synced_at":"2025-08-01T18:09:30.201Z","repository":{"id":262067888,"uuid":"885014012","full_name":"Rayato159/quests-tracker","owner":"Rayato159","description":"Hey adventurers! Welcome to Crabby's Quests Tracker, the ultimate tool to keep tabs on all your epic adventures. 🌟 ","archived":false,"fork":false,"pushed_at":"2025-06-11T16:36:21.000Z","size":188,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T15:46:53.414Z","etag":null,"topics":["axum-demo","clean-architecture","clean-code","crud-api","diesel","domain-driven-design","postgresql","practice-project","restful-api","rust"],"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/Rayato159.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-11-07T19:50:35.000Z","updated_at":"2025-06-17T18:24:12.000Z","dependencies_parsed_at":"2024-11-10T10:29:48.310Z","dependency_job_id":"0419f92f-d0a5-4f55-9fcc-5d3e5d4eff51","html_url":"https://github.com/Rayato159/quests-tracker","commit_stats":null,"previous_names":["rayato159/quests-tracker"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Rayato159/quests-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayato159%2Fquests-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayato159%2Fquests-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayato159%2Fquests-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayato159%2Fquests-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rayato159","download_url":"https://codeload.github.com/Rayato159/quests-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayato159%2Fquests-tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268272911,"owners_count":24223789,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["axum-demo","clean-architecture","clean-code","crud-api","diesel","domain-driven-design","postgresql","practice-project","restful-api","rust"],"created_at":"2025-06-07T18:08:50.190Z","updated_at":"2025-08-01T18:09:30.173Z","avatar_url":"https://github.com/Rayato159.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quests Tracker: Crabby's Final Project 📜\n\nHey adventurers! Welcome to **Crabby's Quests Tracker**, the ultimate tool to keep tabs on all your epic adventures. 🌟 Whether you're rallying your squad, tracking loot, or planning your next epic quest.\n\nthis project’s got your back. Let's make managing quests as legendary as Crabby's journey itself! 🦀💥\n\n## 🚀 What is Quests Tracker?\n\nThis is a project to help you stay organized with quests, adventurers, and their outcomes! Track who’s in, who’s out, and what went down, all while keeping things clean with **Rust** and **Domain-Driven Design** (DDD). It’s not just another tracker, it's Crabby's way to squad up and roll out! ⚔️✨\n\n### 🔍 Key Features\n\n- **QuestOps**: Manage all the quest operations. ⚔️\n- **Quest Viewing**: Easily view all active quests, their details, and progress. 📝✨\n- **Journey Ledger**: Keep a log of every quest journey, completed, failed, or in progress. 📖💫\n- **Crew Switchboard**: Let's adventures to join or leave a quest. 🛠️👥\n- **Adventures**: Just an adventure. 🌟\n- **Guild Commanders**: Assign guild commanders to do the quest ops duty. 🏰🦸‍♂️\n- **Authentication**: Keep everything secure, only the right adventurers can join the quests. 🔒✨\n\n## 🛠️ Tech Stack\n\n- **Rust Tokio Axum** 🦀: For maximum safety and async vibes.\n- **PostgreSQL** 🐘: To store all that legendary loot and quest data.\n- **Diesel ORM** 🚂: For smooth database ops.\n\n## 📋 Project Structure\n\nOrganized with **Domain-Driven Design** + **Clean Architecture** to keep things tidy:\n\n```text\nquests_tracker/\n├───config/\n├───src/\n│   ├───application/\n│   │   └───usecases/\n│   ├───domain/\n│   │   ├───entities/\n│   │   ├───repositories/\n│   │   └───value_objects/\n│   └───infrastructure\n│       ├───axum_http/\n│       └───postgres/\n│           ├───migrations/\n│           └───repositories/\n├── Cargo.toml\n```\n\n## 🔧 How to Set Up\n\nReady to level up? Follow these steps:\n\n1. **Clone the Repo**:\n\n   ```sh\n   git clone https://github.com/Rayato159/quests-tracker.git\n   cd quests-tracker\n   ```\n\n2. **Set Up Diesel**:\n\n   ```sh\n   cargo install diesel_cli --no-default-features --features postgres\n   ```\n\n3. **Set Up PostgreSQL on Podman**:\n\n   ```sh\n   podman run --name quests-tracker-db -e POSTGRES_PASSWORD=123456 -e POSTGRES_DB=quests_tracker_db -p 5432:5432 -d postgres:latest\n   ```\n\n4. **Run Migrations**:\n\n   ```sh\n   diesel migration run\n   ```\n\n5. **Run the Server**:\n\n   ```sh\n   cargo run\n   ```\n\nBoom, you're in! 🎉\n\n## 🧪 Testing\n\n1. **Run Tests**:\n\n   ```sh\n   cargo test\n   ```\n\n2. **Runing Test Coverage**:\n\n   ```sh\n   cargo install cargo-tarpaulin\n   ```\n\n   ```sh\n   cargo tarpaulin --out xml\n   ```\n\n## 📦 Upgrade All Dependecies\n\n```sh\ncargo update\n```\n\n## 🤖 Let's Cargo Clippy Refactor Your Code in Automatically\n\n```sh\ncargo clippy --fix --lib -p quests_tracker\n```\n\n## 📝 ENV Example\n\n```text\nSTAGE=Local\n\nSERVER_PORT=8080\nSERVER_BODY_LIMIT=10 # MB\nSERVER_TIMEOUT=90 # seconds\n\nDATABASE_URL=postgres://postgres:123456@localhost/quests_tracker_db\n\nJWT_ADVENTURER_SECRET=a_supersecret\nJWT_ADVENTURER_REFRESH_SECRET=ar_supersecretrefresh\nJWT_GUILD_COMMANDER_SECRET=g_supersecret\nJWT_GUILD_COMMANDER_REFRESH_SECRET = gr_supersecretrefresh\n```\n\n## 🐳 Build\n\n1. **Build Docker Image**:\n\n   ```sh\n   docker build -t quests-tracker:v1.0.0 -f ./Dockerfile .\n   ```\n\n2. **Run Docker Container**:\n\n   ```sh\n   podman run --name quests-tracker -p 8080:8080 \\\n    -e STAGE=Local \\\n    -e SERVER_PORT=8080 \\\n    -e SERVER_BODY_LIMIT=10 \\\n    -e SERVER_TIMEOUT=90 \\\n    -e DATABASE_URL=postgres://user:password@host:port/database_name \\\n    -e JWT_ADVENTURER_SECRET=xxxxx \\\n    -e JWT_ADVENTURER_REFRESH_SECRET=xxxxx \\\n    -e JWT_GUILD_COMMANDER_SECRET=xxxxx \\\n    -e JWT_GUILD_COMMANDER_REFRESH_SECRET=xxxxx \\\n    -d quests-tracker:v1.0.0\n   ```\n\n## ⚡️ Usage\n\n- **Do a Quest Ops**: Start a new adventure for your crew.\n- **Add Adventurers**: Let your squad join in on the action.\n- **Track Progress**: Update and check the status of quests, know who’s thriving and who’s not.\n\n## 🌍 Contributing\n\nFeel like adding your magic to Crabby's adventure? Fork the repo, make those changes, and open a pull request. Crabby loves help from fellow adventurers! 💪✨\n\n## 📜 License\n\nThis project is open-sourced under the **MIT License**. feel free to use, modify, and share.\n\n## 🦀 Shoutout to Crabby!\n\nSpecial shoutout to **Crabby**, the ultimate adventure guide. Without Crabby, none of these epic quests would be possible. Keep on adventuring! 🦀🚀\n\n**Happy Questing, Adventurers!** 🌟\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayato159%2Fquests-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayato159%2Fquests-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayato159%2Fquests-tracker/lists"}