{"id":31139694,"url":"https://github.com/elderfieldzeus/byahe-api","last_synced_at":"2026-05-09T05:33:45.741Z","repository":{"id":306026481,"uuid":"949422796","full_name":"elderfieldzeus/byahe-api","owner":"elderfieldzeus","description":"A Smart Travel Planner that helps users Organize Itineraries, Manage Flights, Store Travel Documents, and Book Accommodations—all in one place.","archived":false,"fork":false,"pushed_at":"2025-07-23T07:16:29.000Z","size":560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T09:17:41.935Z","etag":null,"topics":["mysql","nestjs","sequelize-typescript"],"latest_commit_sha":null,"homepage":"https://byahe-api.dcism.org/swagger","language":"TypeScript","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/elderfieldzeus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-16T12:36:11.000Z","updated_at":"2025-07-23T07:16:40.000Z","dependencies_parsed_at":"2025-07-23T09:18:43.276Z","dependency_job_id":"77c7bd67-1f39-4866-9c7a-a456fa87939f","html_url":"https://github.com/elderfieldzeus/byahe-api","commit_stats":null,"previous_names":["elderfieldzeus/byahe-api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/elderfieldzeus/byahe-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elderfieldzeus%2Fbyahe-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elderfieldzeus%2Fbyahe-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elderfieldzeus%2Fbyahe-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elderfieldzeus%2Fbyahe-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elderfieldzeus","download_url":"https://codeload.github.com/elderfieldzeus/byahe-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elderfieldzeus%2Fbyahe-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275758120,"owners_count":25523165,"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-09-18T02:00:09.552Z","response_time":77,"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":["mysql","nestjs","sequelize-typescript"],"created_at":"2025-09-18T11:34:36.773Z","updated_at":"2025-09-18T11:34:42.007Z","avatar_url":"https://github.com/elderfieldzeus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Byahe API\n\n**Byahe API** is a backend service built using **NestJS**, designed for scalable and secure transportation or travel-related systems. It supports user authentication, file uploads, and RESTful endpoints, and integrates with MySQL and Sequelize ORM.\n\n---\n\n## 🛠️ Tech Stack\n\n- **NestJS 11**\n- **TypeScript**\n- **Sequelize \u0026 Sequelize-Typescript**\n- **MySQL**\n- **JWT Authentication** with Passport\n- **Swagger/OpenAPI**\n- **Class Validator + Transformer**\n- **Multer** for file uploads\n- **Dotenv** for environment configuration\n- **ESLint + Prettier**\n- **Jest** for testing\n\n---\n\n## 📁 Project Structure\n\nFollows NestJS modular structure. Key modules include:\n\n```\nsrc/\n├── activity/       # Handles user activities such as bookings and scheduled plans\n├── auth/           # Authentication and authorization logic (JWT, login, register)\n├── document/       # Manages user-uploaded travel documents (e.g. passport, visa)\n├── flight/         # Flight-related modules: search, booking, and management\n├── hotel/          # Hotel-related modules: availability, booking, and details\n├── itinerary/      # Generates and stores user itineraries and trip plans\n├── lib/            # Shared utilities, constants, and configuration files\n├── payment/        # Payment gateway integration and transaction processing\n├── types/\n│   └── enum/       # Enum definitions used throughout the app\n└── user/           # User profile management and related features\n\n```\n\n---\n\n## 🔐 Authentication\n\n- JWT-based login with Passport\n- Password hashing via Bcrypt\n- Local strategy for credential-based auth\n\n---\n\n## 🧪 Scripts\n\n| Command            | Description                      |\n|--------------------|----------------------------------|\n| `npm run start`    | Run the app                      |\n| `npm run start:dev`| Run in watch mode                |\n| `npm run build`    | Compile TypeScript               |\n| `npm run test`     | Run unit tests                   |\n| `npm run test:watch`| Watch mode testing              |\n| `npm run test:e2e` | Run end-to-end tests             |\n| `npm run lint`     | Run ESLint                       |\n| `npm run format`   | Format code with Prettier        |\n\n---\n\n## 📘 API Documentation\n\nOnce running, open Swagger UI at:\n\n```\nhttp://localhost:3000/swagger\n```\n\nPowered by `@nestjs/swagger`.\n\n---\n\n---\n\n## 📦 Deployment \u0026 Env\n\n- Configure your `.env` file:\n```env\nPORT=\n\nSQL_HOST=\nSQL_PORT=\nSQL_USERNAME=\nSQL_PASSWORD=\nSQL_DATABASE=\n\nDOCUMENT_DIRECTORY=\n\nJWT_SECRET=\n```\n\n---\n\n\n## 🚧 Status\n\n⚠️ This project is no longer maintained.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felderfieldzeus%2Fbyahe-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felderfieldzeus%2Fbyahe-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felderfieldzeus%2Fbyahe-api/lists"}