An open API service indexing awesome lists of open source software.

https://github.com/shahul01/sh-kit-db-selfauth-jwt

SvelteKit app with SSR, TailwindCSS, TypeScript, SQLite db and JWT auth.
https://github.com/shahul01/sh-kit-db-selfauth-jwt

jwt-authentication sqlite sveltekit tailwindcss typescript

Last synced: 3 months ago
JSON representation

SvelteKit app with SSR, TailwindCSS, TypeScript, SQLite db and JWT auth.

Awesome Lists containing this project

README

          

# Todo List app: sh-kit-db-selfauth-jwt

## SvelteKit app with SSR, TailwindCSS, TypeScript, SQLite db and JWT auth.

## commit legend

- bpaf/s: backend, api, auth, frontend/svelte respectively

## Techstacks

- Svelte + SvelteKit
- TailwindCSS
- TypeScript
- SQLite
- Authentication via JWT

## Features

- ✅ Todo
- ✅ Authentication w/ salting, JWT and rate limiting
- ✅ Enhanced Password Security
- ✅ Input Validation with Zod

- ✅ Enhanced JWT Security
- ✅ CSRF protection
- ✅ CORS
- ✅ Rate Limiting
- ✅ Security Headers & CSP
- ✅ IP-Based Security
- ✅ Structured Logging

## Screenshots - Home page

![home.png](./docs/assets/screenshots/home.png)

Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.