Simple deployment setup - no GitHub Actions needed!
/api- Rails API backend/client- SvelteKit frontend
cd api
bundle install
rails serverAPI runs at http://localhost:3000
cd client
cp .env.example .env # First time only
npm install
npm run devFrontend runs at http://localhost:5173
Local Development (.env):
PUBLIC_API_URL=http://localhost:3000
Production (Netlify Dashboard):
- Add environment variable:
PUBLIC_API_URL=https://mini-qms-1.onrender.com
- Go to Netlify dashboard
- "Add new site" → "Import from GitHub"
- Select this repo
- Netlify will auto-detect settings from
netlify.toml - Add environment variable
PUBLIC_API_URLin Site Settings
- Go to Render dashboard
- "New" → "Blueprint"
- Select this repo
- It will use
render.yamlconfiguration - Add
RAILS_MASTER_KEYenvironment variable
- Frontend: https://mini-qms.netlify.app/
- Backend: https://mini-qms-1.onrender.com