https://github.com/bladesheng/notes-svelte
Very simple note taking app
https://github.com/bladesheng/notes-svelte
lucia-auth postgresql prisma sveltekit typescript vercel vite
Last synced: 3 months ago
JSON representation
Very simple note taking app
- Host: GitHub
- URL: https://github.com/bladesheng/notes-svelte
- Owner: Bladesheng
- License: mit
- Created: 2023-06-26T07:34:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T11:34:01.000Z (over 2 years ago)
- Last Synced: 2025-05-07T06:57:24.688Z (about 1 year ago)
- Topics: lucia-auth, postgresql, prisma, sveltekit, typescript, vercel, vite
- Language: Svelte
- Homepage: https://notes-svelte-theta.vercel.app
- Size: 577 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# notes-svelte
## About this repository
This is a very simple note taking app. You create an account and then you can create / edit / delete your own notes.
This was my first shot at trying out server-side-rendering with some frontend framework (SvelteKit). I also did my first authentication, so that was pretty cool too. Also i added toast notifications everywhere because why not.
Technologies used:
- SvelteKit for SSR, routing, acces to ORM, etc.
- Lucia library to make auth easy
- Postgres database for saving notes, auth users and sessions
- Prisma as an ORM
- Vite as builder
- Deployed to Vercel
## Building locally
- Clone the repo, then create .env file with database url such as:
```
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/notes-svelte?schema=public"
```
- Install packages:
```
npm install
```
- Push the Prisma schema to the database:
```
npm run db:push
```
- Run development server with:
```
npm run dev
```
- Linting and prettier:
```
npm run format
npm run lint
```