https://github.com/jgatjens/t3stack
t3 with next-auth (emailProvider), internationalization, drizzle, shadcn, custom roles and resend (react.email)
https://github.com/jgatjens/t3stack
Last synced: 4 months ago
JSON representation
t3 with next-auth (emailProvider), internationalization, drizzle, shadcn, custom roles and resend (react.email)
- Host: GitHub
- URL: https://github.com/jgatjens/t3stack
- Owner: jgatjens
- Created: 2023-11-25T20:04:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-06T04:23:12.000Z (over 1 year ago)
- Last Synced: 2025-01-01T11:41:42.519Z (5 months ago)
- Language: TypeScript
- Homepage: https://t3stack-dun.vercel.app
- Size: 1.51 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FrontApp e
This is a [t3stack](https://create.t3.gg/) project bootstrapped with `create-t3-app`.
- [Next.js](https://nextjs.org)
- [NextAuth.js](https://next-auth.js.org)
- [Drizzle](https://orm.drizzle.team/)
- [shadcn](https://ui.shadcn.com/)
- [tRPC](https://trpc.io)
- [Postgres](https://tailwindcss.com)
- [lucide react](https://lucide.dev/guide/packages/lucide-react)# shadcn add components
```bash
#example
npx shadcn-ui@latest add button
```# Docker (db and pgadmin)
```bash
# creates docket containers
docker-compose up --build -d# if you use pgadmin from docker the Host name/Adress would be the postgres container_name:
# example: t3stack_postgres# add tables to db and generates prisma client
npm run db:push# Create a dump backup
# -U username
# -d database
# -h hostname
# --data-only only data
pg_dump -h {POSTGRES_HOST} -U {POSTGRES_USER} -d {POSTGRES_DB} --data-only > ./db/dev_backup.dump# clear database data
docker exec -i frontapp_postgres psql -U postgres -d frontapp < ./db/dev_clear_data.sql# restore database on local docker
docker exec -i frontapp_postgres psql -U postgres -d frontapp < ./db/dev_backup.dump
```