Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```