{"id":28417543,"url":"https://github.com/lfortin/vite-backbone","last_synced_at":"2026-04-09T17:58:27.611Z","repository":{"id":295422910,"uuid":"989656508","full_name":"lfortin/vite-backbone","owner":"lfortin","description":"Starter template for Backbone.","archived":false,"fork":false,"pushed_at":"2025-06-24T15:55:59.000Z","size":1344,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-24T16:49:02.653Z","etag":null,"topics":["backbone","backbonejs","boilerplate","bootstrap","frontend","handlebars","javascript","jquery","starter","template","underscore","vite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/lfortin.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-24T14:54:15.000Z","updated_at":"2025-06-24T15:56:02.000Z","dependencies_parsed_at":"2025-05-25T13:45:31.417Z","dependency_job_id":"7cd27a17-3cc6-4dd0-aa46-95640a39e017","html_url":"https://github.com/lfortin/vite-backbone","commit_stats":null,"previous_names":["lfortin/vite-backbone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lfortin/vite-backbone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfortin%2Fvite-backbone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfortin%2Fvite-backbone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfortin%2Fvite-backbone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfortin%2Fvite-backbone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfortin","download_url":"https://codeload.github.com/lfortin/vite-backbone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfortin%2Fvite-backbone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262067762,"owners_count":23253667,"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":["backbone","backbonejs","boilerplate","bootstrap","frontend","handlebars","javascript","jquery","starter","template","underscore","vite"],"created_at":"2025-06-04T07:00:36.201Z","updated_at":"2026-04-09T17:58:27.590Z","avatar_url":"https://github.com/lfortin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-backbone\n\n\u003e 📦 Starter template for Backbone.js apps using Vite, Bootstrap 5, Handlebars, jQuery, and Underscore.\n\n[![Vite](https://img.shields.io/badge/Vite-^8.0-blueviolet?logo=vite)](https://vitejs.dev/)\n[![Backbone.js](https://img.shields.io/badge/Backbone.js-^1.6-blue?logo=javascript)](https://backbonejs.org/)\n[![License: MIT-0](https://img.shields.io/badge/License-MIT--0-yellow.svg)](LICENSE)\n[![Vitest](https://img.shields.io/badge/Vitest-^4.0-729b1b?logo=vitest)](https://vitest.dev/)\n[![Oxc](https://img.shields.io/badge/Oxc-Rust--Powered-orange?logo=rust)](https://oxc.rs/)\n\n---\n\n## 🚀 Features\n\n- ✅ Backbone Views, Models, Collections, and Routers\n- 🎨 Bootstrap 5 layout \u0026 styling\n- 📝 Handlebars.js for logic-less templating\n- ⚡ Vite for modern development and lightning-fast builds\n- 🧪 Unit testing with Vitest\n- 📏 Oxlint pre-configured for common globals\n- 🌐 Globals for `$`, `_`, `Backbone`, `Handlebars`\n- 🔧 Easily configurable and extendable\n\n---\n\n[![vite-backbone screenshot](https://github.com/lfortin/vite-backbone/blob/main/public/screenshot.png?raw=true)](https://github.com/lfortin/vite-backbone/blob/main/public/screenshot.png?raw=true)\n\nTry it out online:\n👉 [Live Demo](https://lfortin.github.io/vite-backbone-demo)\n\n---\n\n## 📂 Template Structure\n\n```text\n├── index.html          # Main app page\n├── index-cdn.html      # CDN-specific app page\n├── public/             # Static assets\n├── src/\n│   ├── collections/    # Backbone Collections\n│   ├── data/           # Static data files\n│   ├── models/         # Backbone Models\n│   ├── routers/        # Backbone Routers\n│   ├── styles/\n│   │   └── style.scss  # Custom styles\n│   ├── views/          # Backbone Views\n│   ├── main.js         # App entry point \u0026 Router init\n│   └── main-cdn.js     # App entry point for CDN-specific build\n└── tests/              # Unit tests\n```\n\n## 🛠️ Usage\n\n### 1. Clone \u0026 Install\n\n```bash\ngit clone https://github.com/lfortin/vite-backbone.git\ncd vite-backbone\nnpm install\n```\n\n### 2. Start Development Server\n\n```bash\nnpm run dev\n```\n\n### 3. Build for Production\n\n```bash\nnpm run build\n```\n\n### Using CDN links for external dependencies\n\n```bash\nnpm run dev:cdn\nnpm run build:cdn\n```\n\n## 🧪 Running Tests\n\nThis project uses [Vitest](https://vitest.dev/) for unit testing.\n\nTo run all tests:\n\n```bash\nnpm run test\n```\n\n---\n\n## 📏 Linting Code\n\nThis project uses [Oxlint](https://oxc.rs/docs/guide/usage/linter.html) with a modern configuration tailored for Backbone, Handlebars, jQuery, Underscore and Vitest.\n\nTo run the linter:\n\n```bash\nnpm run lint\n```\n\n---\n\n## 📄 License\n\nMIT-0 © [lfortin](https://github.com/lfortin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfortin%2Fvite-backbone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfortin%2Fvite-backbone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfortin%2Fvite-backbone/lists"}