Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikurotime/trpc-todo-list
https://github.com/ikurotime/trpc-todo-list
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ikurotime/trpc-todo-list
- Owner: ikurotime
- Created: 2023-11-02T22:23:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-03T11:10:50.000Z (about 1 year ago)
- Last Synced: 2024-10-12T02:42:53.053Z (27 days ago)
- Language: TypeScript
- Size: 58.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To Do list - tRCP 📝
## This project is an example of Next 14 using server actions, along with tRCP and Prisma ⭐️
First, create a .env with the database connection
```
DATABASE_URL="mysql://root:mypassword@localhost:3306/mydb"
```Then, run the migrations:
```
npx prisma db push
```Run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.