{"id":21900728,"url":"https://github.com/nwrenger/htmx-gorm-gin","last_synced_at":"2025-04-15T19:54:13.700Z","repository":{"id":189802621,"uuid":"681339310","full_name":"nwrenger/htmx-gorm-gin","owner":"nwrenger","description":"RESTful API, HTMX and a SQLite database infrastructure","archived":false,"fork":false,"pushed_at":"2025-04-03T11:46:54.000Z","size":10975,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T19:54:09.669Z","etag":null,"topics":["golang","htmx","restful-api","sqlite","tmpl"],"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/nwrenger.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}},"created_at":"2023-08-21T19:49:19.000Z","updated_at":"2025-04-03T11:46:57.000Z","dependencies_parsed_at":"2024-03-31T00:15:14.918Z","dependency_job_id":null,"html_url":"https://github.com/nwrenger/htmx-gorm-gin","commit_stats":null,"previous_names":["nwrenger/web-service-gin"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwrenger%2Fhtmx-gorm-gin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwrenger%2Fhtmx-gorm-gin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwrenger%2Fhtmx-gorm-gin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwrenger%2Fhtmx-gorm-gin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwrenger","download_url":"https://codeload.github.com/nwrenger/htmx-gorm-gin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249145296,"owners_count":21219966,"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":["golang","htmx","restful-api","sqlite","tmpl"],"created_at":"2024-11-28T15:09:44.046Z","updated_at":"2025-04-15T19:54:13.673Z","avatar_url":"https://github.com/nwrenger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# htmx-gorm-gin\n\nhtmx-gorm-gin is a lightweight example of a RESTful API utilizing SQLite as its database and powered by the HTMX library for seamless server-client interactions.\n\n## Features\n\n- **RESTful API:** Built on the principles of Representational State Transfer (REST) for efficient and standardized communication.\n- **SQLite Database:** Utilizes a SQLite database for data storage, providing a simple and self-contained solution.\n- **HTMX Integration:** Enhances server-client interactions through HTMX, allowing for dynamic updates and a smoother user experience.\n\n## Usage\n\n- **Install Perquisites:** You have to have [go](https://go.dev/), [air](https://github.com/cosmtrek/air) and [bun](https://bun.sh/) installed.\n- **Install Dependencies:** Install dependencies of go (in [root](/)) and bun (in [content](static/content/)).\n- **Run Dev:** Finally, You have to use the `air` command, it's pre-configured in the [air-toml](.air.toml).\n- **Build:** To build the project you have to run the following command, **make sure to include in your export the static files**:\n```sh\ncd ./static/content \u0026\u0026 bunx tailwindcss -i ./../../web/input.css -o ./dist/output.css \u0026\u0026 cd ./../../ \u0026\u0026 templ generate \u0026\u0026 go build .\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwrenger%2Fhtmx-gorm-gin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwrenger%2Fhtmx-gorm-gin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwrenger%2Fhtmx-gorm-gin/lists"}