/beteam

(๐Ÿ› ๏ธ working) A tool for managing team tasks, tracking them from inception to completion emphasizing transparency & organization.

Primary LanguageTypeScriptMIT LicenseMIT

Precedent โ€“ Building blocks for your Next project

Building blocks for your Next project

Steven Tey Twitter follower count Precedent repo star count

Introduction ยท One-click Deploy ยท Tech Stack + Features ยท Author


Introduction

Precedent is an opinionated collection of components, hooks, and utilities for your Next.js project.

One-click Deploy

You can deploy this template to Vercel with the button below:

Deploy with Vercel

You can also clone & create this repo locally with the following command:

npx create-next-app precedent --example "https://github.com/steven-tey/precedent"

Tech Stack + Features

Precedent.mp4

Frameworks

  • Next.js โ€“ React framework for building performant apps with the best developer experience
  • Auth.js โ€“ Handle user authentication with ease with providers like Google, Twitter, GitHub, etc.
  • Prisma โ€“ Typescript-first ORM for Node.js

Platforms

  • Vercel โ€“ Easily preview & deploy changes with git
  • Vercel Postgres โ€“ Serverless Postgres at the Edge

UI

  • Tailwind CSS โ€“ Utility-first CSS framework for rapid UI development
  • Radix โ€“ Primitives like modal, popover, etc. to build a stellar user experience
  • Framer Motion โ€“ Motion library for React to animate components with ease
  • Lucide โ€“ Beautifully simple, pixel-perfect icons
  • next/font โ€“ Optimize custom fonts and remove external network requests for improved performance
  • ImageResponse โ€“ Generate dynamic Open Graph images at the edge
  • react-wrap-balancer โ€“ Simple React component that makes titles more readable

Hooks and Utilities

  • useIntersectionObserver โ€“  React hook to observe when an element enters or leaves the viewport
  • useLocalStorage โ€“ Persist data in the browser's local storage
  • useScroll โ€“ React hook to observe scroll position (example)
  • nFormatter โ€“ Format numbers with suffixes like 1.2k or 1.2M
  • capitalize โ€“ Capitalize the first letter of a string
  • truncate โ€“ Truncate a string to a specified length
  • use-debounce โ€“ Debounce a function call / state update

Code Quality

  • TypeScript โ€“ Static type checker for end-to-end typesafety
  • Prettier โ€“ Opinionated code formatter for consistent code style
  • ESLint โ€“ Pluggable linter for Next.js and TypeScript

Miscellaneous

  • Vercel Analytics โ€“ Track unique visitors, pageviews, and more in a privacy-friendly way

Author