sveltekit-template Svelte Themes

Sveltekit Template

A SvelteKit template configured with TypeScript, tRPC, Zod, Drizzle, and JWT for easy development of type-safe applications with PostgreSQL integration, inspired by the T3 Stack

SvelteKit, tRPC, and PostgreSQL Template Repository

This repository is a template for SvelteKit projects, using TypeScript, JWT-based authentication, tRPC for type-safe APIs, Zod for TypeScript-friendly schema validation, and Drizzle for querying PostgreSQL databases.

Features

  • TypeScript for type-safe code in both front-end and back-end
  • Minimal setup with JWT for authentication
  • tRPC for fast, easy and type-safe data fetching
  • Zod for TypeScript-friendly schema validation
  • Drizzle for querying PostgreSQL databases

Get Started

# Clone the repository
git clone https://github.com/RoeeJ/sveltekit-template.git

# Enter the repository
cd sveltekit-template

# Install dependencies
npm install

# Run the application in development mode
npm run dev

How to Use

  1. Modify your repository: After cloning the template, you can add, modify, or remove components or services to fit your specific project requirements.
  2. Modify authentication: If you have a specific auth flow, you can modify authentication files to implement your JWT handling.
  3. Test your project: Using your preferred test framework, ensure your modifications work as expected.

References

Support

If you have any questions or need help with your project, feel free to open an issue or contact us directly.

We hope you find this template useful!

License

MIT

Top categories

Loading Svelte Themes