{"id":15723285,"url":"https://github.com/vitaee/honostarter","last_synced_at":"2025-05-13T10:41:13.449Z","repository":{"id":249879854,"uuid":"828677686","full_name":"Vitaee/HonoStarter","owner":"Vitaee","description":"A RESTful API template built with Hono and TypeScript, connected to MongoDB, and running on Bun.sh","archived":false,"fork":false,"pushed_at":"2024-09-05T20:59:16.000Z","size":231,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T23:32:35.289Z","etag":null,"topics":["bun","honojs","jest-test","mongodb","typescript"],"latest_commit_sha":null,"homepage":"","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/Vitaee.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}},"created_at":"2024-07-14T21:42:49.000Z","updated_at":"2025-02-01T13:33:45.000Z","dependencies_parsed_at":"2024-10-24T20:38:49.417Z","dependency_job_id":null,"html_url":"https://github.com/Vitaee/HonoStarter","commit_stats":null,"previous_names":["vitaee/honostarter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FHonoStarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FHonoStarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FHonoStarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FHonoStarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vitaee","download_url":"https://codeload.github.com/Vitaee/HonoStarter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253925208,"owners_count":21985262,"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":["bun","honojs","jest-test","mongodb","typescript"],"created_at":"2024-10-03T22:10:56.729Z","updated_at":"2025-05-13T10:41:13.406Z","avatar_url":"https://github.com/Vitaee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hono MongoDB Bun.sh API\n\n## Description\n\nA RESTful API built with Hono and TypeScript, connected to MongoDB, and running on Bun.sh. This project demonstrates the implementation of CRUD operations, validation, and testing using modern web technologies.\n\n## Features\n\n- **CRUD Operations**: Create, Read, Update, Delete operations for resources.\n- **Validation**: Input validation using `class-validator` and Hono's built-in validator.\n- **Testing**: Comprehensive testing setup with Jest.\n- **Environment Configuration**: Manage configuration using environment variables.\n- **Modern Technologies**: Built with Hono, TypeScript, MongoDB, and Bun.sh.\n\n## Getting Started\n\n### Prerequisites\n\n- [Bun.sh](https://bun.sh/)\n- [Node.js](https://nodejs.org/)\n- [MongoDB](https://www.mongodb.com/)\n\n### Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/Vitaee/HonoStarter.git\n    ```\n2. Navigate to the project directory:\n    ```bash\n    cd HonoStarter\n    ```\n3. Install dependencies:\n    ```bash\n    bun install\n    ```\n4. Set up environment variables:\n    Create a `.env` file in the root directory and add your MongoDB connection details:\n    ```plaintext\n    DB_USER=your_db_user\n    DB_PASS=your_db_password\n    DB_HOST=your_db_host\n    DB_PORT=your_db_port\n    DB_DATABASE=your_db_name\n    PORT=3000\n    ```\n\n### Running the Application\n\nTo start the application in development mode:\n```bash\nbun run dev\n```\n\n### Running Tests\nTo run tests:\n\n```bash\nbun run test\n```\n\n### Usage\nThe API will be available at http://localhost:3000.\nYou can access various endpoints like /users to perform CRUD operations.\n\n### Contributing\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaee%2Fhonostarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaee%2Fhonostarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaee%2Fhonostarter/lists"}