A lightweight and modern paste bin and url shortener.
๐ Next.js 14 with App Directory
support
RSC
(React Server Component) for global state hold and data fetchingReact Server Actions
for forms mutation- A React style full stack solution, a alternative to
tRPC
- A React style full stack solution, a alternative to
๐ I18n with next-intl
3
๐ Auth with next-auth
5, including full OAuth support and basic credentials.
next-auth
withprisma
adapter, so that it is not support Edge environment in api route.- Credentials password hashed with
argon2
๐ Auto Imports with unplugin-auto-import
and unplugin-icons
- Necessary
Next.js
components, utils, hooks, and icons are auto imported, so that you don't need to import them manually.
๐ก๏ธ Validation with zod
๐ Database ORM with prisma
- Upcoming multi-drivers support, including
PostgreSQL
,MySQL
,SQLite
,SQL Server
, andMongoDB
โ๏ธ UI with Chakra UI
โ๏ธ CSS utils library , use UnoCSS
Tailwind CSS
instead.
UnoCSS
is a better choice forTailwind CSS
, but there are issues blocked the use inwebpack
orpostcss
, waiting for the fix.
๐ช Hooks library, provided by react-use
and ahooks
๐ฆ Package management with bun
โก Syntax highlight with shikiji
๐งฟ Environment variables providing and validating with @t3-oss/env
๐ TypeScript
native support
๐ฎโโ๏ธ Lints and CI process with husky
and lint-staged
, checking via eslint
, tsc
, prettier
, and stylelint
You should define database
related environment variables in .env.local
file before running the app.
It is required by prisma
to generate database schema and types.
bun i # Install dependencies and generate database schema and types
bun dev
bun run build
bun start