suzuken / go-prisma-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-prisma-example

Example Go app using prisma, lit-html, and ky.

Usage

First of all, install PostgreSQL. Then try following commands.

$ go generate
$ go build
$ echo 'DATABASE_URL=postgresql://yourname:yourname@localhost:5432/postgres' > .env
$ npx prisma db push --preview-feature
$ ./go-prisma-example

Then you can use TODO app! 🎉

Reference

License

MIT

assets/app.js is based on @ryohey's lit-html-todo

Author

Yasuhiro Matsumoto (a.k.a. mattn)

About


Languages

Language:Go 43.8%Language:JavaScript 37.5%Language:CSS 17.1%Language:HTML 1.7%