Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gwjun/burger-wiki
지식은 햄버거를 대신할 수 없어
https://github.com/gwjun/burger-wiki
burger nextjs trpc wiki
Last synced: about 1 month ago
JSON representation
지식은 햄버거를 대신할 수 없어
- Host: GitHub
- URL: https://github.com/gwjun/burger-wiki
- Owner: GWjun
- Created: 2024-08-27T08:53:09.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T08:23:25.000Z (about 1 month ago)
- Last Synced: 2024-11-19T09:30:33.592Z (about 1 month ago)
- Topics: burger, nextjs, trpc, wiki
- Language: TypeScript
- Homepage: https://burger-wiki.vercel.app
- Size: 574 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Burger Wiki
"지식은 햄버거를 대신할 수 없어"
## 사용 방법
### 환경 변수 설정
루트 디렉터리에 `.env` 파일 생성 후 `prisma`, `auth.js`, `sentry` 에 해당하는 환경 변수 입력
```sh
# prisma
DATABASE_URL="postgresql://johndoe:randompassword@localhost:6543/mydb?schema=public?pgbouncer=true"
DIRECT_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"# auth.js
AUTH_SECRET="your_auth_secret"
AUTH_GOOGLE_ID="your_oauth_id"
AUTH_GOOGLE_SECRET="your_oauth_secret"# sentry
SENTRY_AUTH_TOKEN=your_sentry_token
SENTRY_DSN=your_sentry_dsn# supabase storage
NEXT_PUBLIC_SUPABASE_URL=your_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_key
NEXT_PUBLIC_SUPABASE_STORAGE_BUCKET=your-bucket
```### 설치
```sh
pnpm install
```### prisma client 생성
```sh
pnpx prisma generate
```### 실행
```sh
pnpm dev
```