Skip to content

2025-4thon-18team/nextworld-fe2

Repository files navigation

My Happy SVG

nextworld-fe

Introduction

A modern Vite + React starter template with:

Core Stack

  • React 19 - UI library
  • TypeScript - Type safety
  • Vite 7 - Build tool & dev server
  • Tailwind CSS 4 - Utility-first CSS framework
  • Framer Motion 12 - Animation library

Design System

  • Style Dictionary - Design token management
  • SVGR - SVG to React component transformer

State Management & Data Fetching

  • React Router 7 - Client-side routing
  • TanStack Query - Server state management
  • Axios - HTTP client

Developer Tools

  • ESLint - Code linting
  • Prettier - Code formatting
  • MSW (Mock Service Worker) - API mocking

This template includes elegant framer motion example components and a complete setup for building production-ready applications.

Install

This project uses node (>= 20) and a package manager (npm, yarn or pnpm). Go check them out if you don't have them locally installed.

Clone the repository and install dependencies:

$ git clone <repository-url>
$ cd nextworld-fe
$ pnpm install

# npm install
# yarn install

Usage

Development

Let's run the development server!

$ pnpm run dev

# npm run dev
# yarn run dev

Build Design Tokens

To rebuild design tokens from the design-tokens directory:

$ pnpm run build-token

# npm run build-token
# yarn run build-token

Production Build

$ pnpm run build

# npm run build
# yarn run build

We've already implemented recommended configurations in eslint.config.ts and .prettierrc. Feel free to edit them if you have your own preferences.

Related Efforts

Related Docs

Features

  • ⚡️ Lightning Fast HMR with Vite
  • 🎨 Design Tokens powered by Style Dictionary
  • 🎭 Smooth Animations with Framer Motion
  • 🎯 Type Safety with TypeScript
  • 🚀 Server State Management with TanStack Query
  • 🎪 API Mocking with MSW for development
  • 🎨 Utility-First CSS with Tailwind CSS 4
  • 📦 SVG as React Components with SVGR
  • 🛣️ Client-Side Routing with React Router 7

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published