Full-stack all-in-one in 3 containers
- SvelteKit real-world demo of OAuth, posts, comments, profiles, likes, followers
- Pocketbase SQL, admin dashboard
- Caddy https router
- Svelte structure for reactive interface components
- Pocketbase sqlite db toolkit, admin panel, auth, api docs, ORM rules, migrations, files, js extensions
- OAuth2 Google Signin user authentication
- Caddy https server routing to containers with caddy-docker-proxy in one file
- Svelte Kit api server with server-side render
- docker compose manage containers in one file
- ESLint/Prettier code style
- Vite bundle compiler
- Awesome Svelte Libraries
- PostgreSQL Supabase - alternative db admin with cloud or selfhosted containers
- Icon sets
- Clone to localhost or server
git clone https://github.com/vtempest/spock-dev-stack
mv .env.example .env
and set the domain in.env
docker network create caddy
docker-compose up -d
- Go to
localhost:8090/_
or with caddyapi.localhost/_
or on serverapi.domain.com/_
and setup admin login - Import Collections, load
pb_schema.json
- Auth providers, get id/secret from Google
- Set OAuth origin
http://localhost
andhttp://localhost:5173
on local orhttps://domain.com
on server - Set redirect
http://localhost:8090/api/oauth2-redirect
orhttps://api.domain.com/api/oauth2-redirect
- Develop app running on
app.domain.com
orlocalhost:5173