Coder Social home page Coder Social logo

syhner / next-kickstart Goto Github PK

View Code? Open in Web Editor NEW
163.0 4.0 15.0 498 KB

Next.js 14 kickstarter. Zero setup & edge ready. Take what you need: ESLint, Prettier, Tailwind, tRPC, WebSockets, Drizzle, Lucia Auth, Vitest, Testing Library, Playwright, PWA, Docker, CI, Bun

Home Page: https://next-kickstart.vercel.app

JavaScript 10.32% CSS 2.76% TypeScript 83.10% Dockerfile 3.70% MDX 0.12%
nextjs boilerplate next-auth template edge drizzle authjs drizzle-orm github-actions playwright

next-kickstart's Introduction

next-kickstart

Feature packed Next.js boilerplate. Zero setup. Edge ready.

Some features depend on environment variables (indicated in features list with ๐Ÿ’ก) and so require enabling. They are disabled by default so that the app runs without any setup. They can be enabled by uncommenting all lines under where @enable {feature} appears.

๐Ÿ“š Features

View the repository branches for other feature sets (e.g. Bun)

Core

  • ๐Ÿ—๏ธ TypeScript - Configured to maximize type safety
  • โš™๏ธ T3 Env - Environment variable validation
  • ๐ŸŒ tRPC - Create end-to-end type-safe APIs that work in both client and server components
  • โšก๐Ÿ’ก WebSockets - Real-time communication (using Pusher, but can be swapped out for alternatives)
    • ๐Ÿ”— integrates with tRPC for end-to-end type-safe events
  • ๐Ÿ’ฝ๐Ÿ’ก Drizzle - ORM with maximal type safety
  • ๐Ÿ”’๐Ÿ’ก Lucia Auth - Flexible and secure authentication
    • ๐Ÿ”—๐Ÿ’ก integrates with Drizzle to store auth data

Development

  • ๐Ÿ“ ESLint - Consistent code standards
  • โœจ Prettier - Consistent code styling
  • ๐ŸŽจ Tailwind CSS - Utility-first CSS framework
  • ๐Ÿงฉ shadcn/ui - Components built with Radix UI and Tailwind CSS
  • ๐Ÿ“ MDX - Use markdown with components
  • ๐Ÿ“ Absolute imports - Easier and cleaner module imports
  • ๐Ÿ’ป VS Code configurations - Configurations for easy debugging

Testing

  • ๐Ÿงช Vitest - Flexible testing framework
  • ๐Ÿ™ React Testing Library - Maintainable component testing
    • ๐Ÿ”— integrates with Vitest as your testing framework
  • ๐ŸŽญ Playwright - End-to-end testing against multiple environments

Deployment

  • ๐Ÿ“Š Bundle analyzer - Analyze bundle sizes in each environment with pnpm run build:analyze
  • ๐Ÿ“ฆ๐Ÿ’ก next-pwa - Make your website as a progressive web app (PWA)
  • ๐Ÿณ Docker - (local and production) Docker-compose and Dockerfiles for running anywhere
  • ๐Ÿ”„ GitHub Actions - Robust CI/CD

๐ŸŒฑ Getting started

๐Ÿš€ Option 1: Clone and deploy with Vercel

Vercel

๐Ÿ“‹ Option 2: Clone and run locally

  1. Fork this repository (uncheck 'Copy the main branch only` if you are interested in other branches / feature sets)
  2. Clone your new repository
  3. Install dependencies and run the development server
  • with pnpm

    pnpm install
    pnpm run dev
  • or with Docker

    docker-compose --file docker/dev/docker-compose.yml up

โš™๏ธ Configuration

๐Ÿ’ก (requires enabling)

๐Ÿ’ก (requires enabling)

Examples

Examples

๐Ÿ’ก (requires enabling)

Examples

next-kickstart's People

Contributors

syhner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

next-kickstart's Issues

Get to full Bun compatability

Some features were removed in the bun branch to get things working. These features are desired, so we will need to get these working / made compatible. There is some context given in the commit messages. From highest to lowest priority:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.