Sveltekit 1.0 Sqlite Demo App screenshot

Sveltekit 1.0 Sqlite Demo App

Author Avatar Theme by Phartenfeller
Updated: 25 Feb 2024
116 Stars

My demo app of various SvelteKit experiments from my YouTube series.

Categories

Overview:

The Svelte Kit 1.0 + SQLite Demo AppCode is a collection of code snippets and tutorials that showcase various features and functionalities of Svelte Kit 1.0 using SQLite as the database. These tutorials cover a range of topics including authentication and authorization, Docker integration, lazy loading, image handling, PDF generation, interactive tables, server-side filtering, pagination and sorting, markdown support, image optimization, smooth page transitions, and more.

Features:

  • SvelteKit 1.0 with SQLite Tutorial: A tutorial on integrating SQLite with Svelte Kit 1.0.
  • Authentication and Authorization in SvelteKit 1 with SQLite: Explains how to implement authentication and authorization in Svelte Kit using SQLite.
  • Build and run SvelteKit Apps with Docker: Guides on building and running SvelteKit apps within Docker containers.
  • AG-Grid in SvelteKit for Spreadsheet like data editing: Demonstrates how to use AG-Grid to create spreadsheet-like data editing capabilities in SvelteKit.
  • Installable SvelteKit App with Web App Manifest: Shows how to create an installable SvelteKit app with a web app manifest.
  • Lazy Loading for slowly loading pages in SvelteKit: Explains how to implement lazy loading for slowly loading pages in SvelteKit.
  • Upload, Store and Retrieve Images in SvelteKit (with SQLite): Shows how to handle image uploads, storage, and retrieval in SvelteKit using SQLite.
  • Generate a PDF with pdfmake (from SvelteKit): Guides on generating PDF documents using pdfmake in SvelteKit.
  • Interactive Tables in SvelteKit with TanStack Table: Demonstrates how to create interactive tables using TanStack Table in SvelteKit.
  • Export Table to XLSX and CSV with exceljs: Shows how to export tables to XLSX and CSV formats using exceljs in SvelteKit.
  • MailCrab: Mock Mailserver for development: Introduces MailCrab, a mock mail server for development purposes.
  • Server-side filtered, paginated and sorted Table in SvelteKit (Part 1/2): Explains how to implement server-side filtering, pagination, and sorting for tables in SvelteKit (Part 1/2).
  • Server-side filtered, paginated and sorted Table in SvelteKit (Part 2/2): Continuation of the previous tutorial, covering the remaining aspects of server-side filtering, pagination, and sorting for tables in SvelteKit (Part 2/2).
  • SvelteKit TanStack Table edit row (+ custom table components): Demonstrates how to edit rows in a table using TanStack Table in SvelteKit, along with custom table components.
  • Markdown in SvelteKit with custom Components: mdsvex: Explains how to use markdown in SvelteKit with custom components using mdsvex.
  • Accessible charts only with CSS? - Charts.css: Discusses the possibility of creating accessible charts using only CSS, with a focus on Charts.css.
  • Image optimization in SvelteKit with vite-imagetools: Shows how to optimize images in SvelteKit using vite-imagetools.
  • Smooth Page / View Transitions in SvelteKit: Guides on achieving smooth page or view transitions in SvelteKit.
  • Full Playlist: SvelteKit: A link to a full playlist of SvelteKit tutorials.

Installation:

To run the Svelte Kit 1.0 + SQLite Demo AppCode locally, follow these steps:

  1. Begin by installing the necessary dependencies. Use either yarn or npm, as shown below:

    yarn install
    

    or

    npm install
    
  2. If you are not using an M1 Mac, you may need to delete the supportedArchitectures line in the .yarnrc.yml file.

  3. Start the development server with the following command:

    yarn dev
    

    or

    npm run dev
    
  4. Use the provided username and password (philipp) for login.

Summary:

The Svelte Kit 1.0 + SQLite Demo AppCode offers a comprehensive collection of tutorials and code snippets that demonstrate various features and capabilities of Svelte Kit 1.0, along with SQLite integration. These tutorials cover a wide range of topics, ranging from basic concepts like authentication and authorization to advanced functionalities like server-side filtering, pagination, and sorting of tables. By following the installation guide, users can easily set up the demo app locally and explore the provided examples.