A demo of what an extended version of Pol.is could look like for Sitra's purposes.
- svelte kit (Fullstack framework)
- drizzle-orm (ORM)
- shadcn-svelte (component library)
Once you've installed dependencies with pnpm install
and started the db in another terminal window with pnpm db:start
,
migrate the database:
pnpm db:migrate
start a development server:
pnpm dev
# or start the server and open the app in a new browser tab
pnpm dev -- --open
To create a production version of your app:
pnpm build
You can preview the production build with npm run preview
.