https://github.com/enpitsulin/todomvc-prisma
A simple todo app built using nextjs with prisma.
https://github.com/enpitsulin/todomvc-prisma
nextjs prisma todomvc
Last synced: 2 months ago
JSON representation
A simple todo app built using nextjs with prisma.
- Host: GitHub
- URL: https://github.com/enpitsulin/todomvc-prisma
- Owner: enpitsuLin
- Created: 2022-04-29T09:22:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T11:26:00.000Z (about 4 years ago)
- Last Synced: 2025-03-01T05:28:49.510Z (over 1 year ago)
- Topics: nextjs, prisma, todomvc
- Language: TypeScript
- Homepage: todomvc-prisma.vercel.app
- Size: 114 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todomvc-prisma
A simple todo app built using nextjs with prisma.
## Running
First of all, you should init prisma with the database you preferred,
edit Environment Variables to provide `DATABASE_URL`, see [more detail](https://pris.ly/d/prisma-schema#using-environment-variables)
then run
```sh
npm run generate
```
This will generate db file (if use sqlite) or create table on your SQL database
Also can use seed data to fill your table
```sh
npm run seed
```
To run the app
```sh
npm run dev
```