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

https://github.com/akshayjadhav4/keep-example-trpc

Implementing trpc in turborepo with Nextjs and express application using postgresql and prisma.
https://github.com/akshayjadhav4/keep-example-trpc

nextjs postrgresql prisma tailwindcss trpc turborepo

Last synced: about 2 months ago
JSON representation

Implementing trpc in turborepo with Nextjs and express application using postgresql and prisma.

Awesome Lists containing this project

README

          

# Keep

Implementing trpc in turborepo with Nextjs and express application using postgresql and prisma.

## Project structure

```
.
├── README.md
├── apps
│   └── web
├── package-lock.json
├── package.json
├── packages
│   ├── database
│   ├── eslint-config-custom
│   ├── services
│   ├── tsconfig
│   ├── twconfig
│   └── ui
└── turbo.json
```
`apps/web`: A Next.js app.

`packages/database`: Prisma setup.

`packages/services`: Expree server application.

`packages/ui`: UI lib containing components.

## Installation

```
cd keep-example-trpc
npm install
```

### Database Setup

Add postgresql **DATABASE_URL** connection string inside `packages/database/.env`

Next
```
cd packages/database

npx prisma db push
```

### Run dev server

```
cd keep-example-trpc
npm run dev
```

## Screenshots

Home

Create Keep

Manage Tags

Edit Keep