Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blankeos/pinguiner
๐๐งPrisma Svelte just playing around with a CRUD (Twitter-like) app
https://github.com/blankeos/pinguiner
Last synced: 4 days ago
JSON representation
๐๐งPrisma Svelte just playing around with a CRUD (Twitter-like) app
- Host: GitHub
- URL: https://github.com/blankeos/pinguiner
- Owner: Blankeos
- Created: 2023-11-05T12:02:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-11T16:40:01.000Z (8 months ago)
- Last Synced: 2024-05-15T15:31:38.334Z (6 months ago)
- Language: Svelte
- Size: 1.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pinguiner
No auth, kinda like Twitter, but Rich Text. Just playing around with CRUD on
SvelteKit, Form Actions, TipTap (Rich Text Editor), Form Actions, Prisma, SQLite.![demo](./demo.gif)
### Development
1. Setup
```sh
> $ git clone https://github.com/Blankeos/pinguiner.git
pinguiner> $ cd pinguiner
pinguiner> $ pnpm install
```2. Database Setup
```
npx primsa generate
npx prisma db push
```> This is only local. I'm using a file database with sqlite inside the `prisma/`
> folder. You can always create an **.env** variable, add `DATABASE_URL` on it,
> and use `url = env("DATABASE_URL")` in schema.prisma if you want to change.3. Run the dev server
```
pnpm dev
```