{"repo":"KieranP/rails-graphql-svelte","free":true,"listed":false,"github":"https://github.com/KieranP/rails-graphql-svelte","clone":"git clone https://github.com/KieranP/rails-graphql-svelte.git","description":"A starter template for a Rails+GraphQL API and Svelte frontend.","language":"Ruby","stars":18,"topics":["ruby-on-rails","svelte","graphql","jwt","bootstrap","rails","sveltekit"],"license":null,"category":"auth-billing-email","readme_excerpt":"Starter Template: Rails + GraphQL + Svelte This repo contains a starter template for a Rails+GraphQL API and SvelteKit frontend. Features Backend The backend is powered by Ruby on Rails, with a GraphQL API. It includes a secure JWT & 2FA authentication system, and authorisation using Pundit. It is pre-wired with ActionCable/SolidCable for Websockets, and ActiveJob/SolidQueue for Background Processing. It uses RSpec and Capybara for feature tests, and Rubocop/Brakeman for code analysis/quality. It contains a basic config for Github Actions. Frontend The frontend is powered by SvelteKit, and compiled using Vite. Routing is handled by SvelteKit, and API requests made using Apollo. Styling is provided by Bootstrap, and websockets via ActionCableJS. It uses Prettier and ESLint +plugins for code analysis/quality. Frontend runtime via Bun. Dependencies managed by Yarn. Usage Clone Git Repo Adjust config/database.yml bundle install yarn install bin/rake db:setup bin/rspec overmind start (or foreman , hivemind , etc) Open https://app.localhost File Structure Backend The backend is powered by a standard Ruby on Rails app. The only exception is that Sprockets is not included for asset management and there are no Rails views templates. All HTML/CSS/JS compilation is handled by Vite. Frontend When Vite runs, it clears the contents of /public , then takes the contents of /app/frontend and compiles them together into /public . The result is a frontend application that is embedded into a Rub","default_branch":null,"files":null,"tree":[],"storefront":"/r/KieranP","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KieranP/rails-graphql-svelte/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}