Coder Social home page Coder Social logo

roeej / sveltekit-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 134 KB

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

JavaScript 6.66% TypeScript 73.49% HTML 1.35% Svelte 18.06% CSS 0.44%

sveltekit-template's Introduction

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

sveltekit-template's People

Contributors

roeej avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.