{"id":15106287,"url":"https://github.com/krittakondev/goapisuit","last_synced_at":"2025-10-23T01:30:58.824Z","repository":{"id":255343444,"uuid":"848788546","full_name":"krittakondev/goapisuit","owner":"krittakondev","description":"goapisuit is a powerful and efficient framework built for Golang developers to speed up API development. Inspired by Laravel, goapisuit focuses on simplifying the process of creating and managing APIs while providing tools to handle database operations easily.","archived":false,"fork":false,"pushed_at":"2025-01-16T22:40:53.000Z","size":1754,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T01:36:27.955Z","etag":null,"topics":["api","cli","crud","database","framework","go","goapisuit","golang","golang-framework","laravel","laravel-framework","midleware","open-source","orm","rest","rest-api","template","template-engine","web-development"],"latest_commit_sha":null,"homepage":"","language":"Go","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/krittakondev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["krittakondev"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-08-28T12:10:36.000Z","updated_at":"2024-12-12T01:27:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"b992780f-ea1b-4ccb-917b-62a3b712377f","html_url":"https://github.com/krittakondev/goapisuit","commit_stats":null,"previous_names":["krittakondev/goapisuit"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krittakondev%2Fgoapisuit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krittakondev%2Fgoapisuit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krittakondev%2Fgoapisuit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krittakondev%2Fgoapisuit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krittakondev","download_url":"https://codeload.github.com/krittakondev/goapisuit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237759101,"owners_count":19361458,"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","cli","crud","database","framework","go","goapisuit","golang","golang-framework","laravel","laravel-framework","midleware","open-source","orm","rest","rest-api","template","template-engine","web-development"],"created_at":"2024-09-25T21:01:17.625Z","updated_at":"2025-10-23T01:30:58.448Z","avatar_url":"https://github.com/krittakondev.png","language":"Go","funding_links":["https://github.com/sponsors/krittakondev"],"categories":[],"sub_categories":[],"readme":"[![Project Logo](logo.png)](https://github.com/krittakondev/goapisuit)\n\n# goapisuit\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/krittakondev/goapisuit.svg)](https://pkg.go.dev/github.com/krittakondev/goapisuit)\n\n**goapisuit** is a lightweight and easy-to-use Golang framework that simplifies API creation and database management using GoFiber. It aims to accelerate the development of APIs by providing built-in commands for generating models, routers, and handling database migrations.\n\n## Features\n\n- **Fast API Creation**: Automatically generate routes and models.\n- **Database Management**: Seamlessly handle migrations with built-in commands.\n- **GoFiber Integration**: Utilize the powerful and efficient GoFiber web framework.\n\n## Getting Started\n\n### Prerequisites\n\nTo use goapisuit, you need the following installed:\n\n- [Golang](https://golang.org/dl/)\n- A relational database (e.g., MySQL etc.)\n- Git for cloning the repository\n\n### Installation\n\n1. Install CLI `heykrit` for the `goapisuit`:\n\n   ```bash\n   go install -v github.com/krittakondev/goapisuit/cmd/heykrit@latest\n   ```\n2. Make your project:\n\n   ```bash\n   mkdir nameproject\n   cd nameproject\n   go mod init you/projectpath\n   heykrit init\n   ```\n3. Config your project in `.env`\n\n4. Run your project:\n\n   ```bash\n   go run cmd/server.go\n   ```\n\n### Directory Structure\n\nHere's a brief overview of the generated directory structure:\n\n```\nnameproject/\n├── cmd/\n│   └── server.go        # Entry point of your project\n├── internal/\n│   ├── models/          # Contains your data models (e.g., user.go)\n│   └── routes/             # Contains API route handlers\n├── public/              # Directory for static files (e.g., CSS, JavaScript, images)\n├── go.mod\n└── go.sum\n└── .env                 # config project\n\n```\n\n## Usage\n\nOnce the setup is complete, you can build upon this project by adding new models and routes using the provided commands. For example, to create a new module for handling products:\n\n\n1. Generate a new `product` Route and Model:\n\n   ```bash\n   heykrit make product\n   ```\n   Generate 2 files `internal/routes/Product.go` and `internal/models/Product.go`\n\n2. Modify the generated `internal/models/Product.go` model as needed, and then apply the migration (gorm model):\n\n   ```bash\n   heykrit db:migrate product\n   ```\n3. Run server:\n\n   ```bash\n   go run cmd/server.go\n   ```\n\n## Contributing\n\nIf you'd like to contribute to `goapisuit`, feel free to open a pull request or issue on the [GitHub repository](https://github.com/krittakondev/goapisuit).\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Credits\n\n[![GoFiber](https://img.shields.io/badge/GoFiber-API_Framework-blue)](https://gofiber.io/)A web framework that brings lightning-fast performance to your Golang applications.\n[![GORM](https://img.shields.io/badge/GORM-ORM_Library-lightgrey)](https://gorm.io/) \nA powerful ORM library for Golang, simplifying database handling and migrations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrittakondev%2Fgoapisuit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrittakondev%2Fgoapisuit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrittakondev%2Fgoapisuit/lists"}