š³ DEMO: https://systeme-io-task.vercel.app/
Dive into the beauty of custom UI components with our NextJS Custom Table Component! This project leverages the power of NextJS, TailwindCSS, and TypeScript to deliver a sleek, scalable table component inspired by Tanstack ShadTable, without using any external libraries. Our focus is on craftsmanship and detailed custom functionality.
Table
and columns
props)useTable
hook)filterFields
prop)Table-Toolbar
with search, filters~
prefixgit clone https://github.com/velenyx/systeme.io-task
corepack enable
yarn set version from sources
yarn
.env.example
to .env
and update the variables.cp .env.example .env
yarn dev
Open http://localhost:3000 with your favorite browser to see your project.
āāā README.md # README file
āāā .github # GitHub folder
āāā .husky # Husky configuration
āāā public # Public assets folder
āāā src
ā āāā app # Next JS App (App Router)
ā āāā components # Components specific to project
ā āāā entities # Business entities
ā ā āāā api # API calls for entities
ā ā āāā types # TypeScript types
ā āāā shared # Code shared across different parts of the application.
ā ā āāā api # API client
ā ā āāā const # Constants
ā ā āāā lib # Utility library: Common functions and helpers used across the app.
ā ā āāā types # Shared TypeScript types: Common type definitions used in multiple areas of the app.
ā ā āāā ui # Shadcn components
āāā Dockerfile # Docker configuration
āāā tailwind.config.ts # Tailwind CSS configuration
āāā tsconfig.json # TypeScript configuration
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
corepack enable |
Enables Corepack to manage package managers |
yarn set version from sources |
Sets Yarn to the latest version from sources |
yarn install |
Installs dependencies |
yarn dev |
Starts the development server at localhost:3000 |
yarn build |
Builds the application for production usage |
yarn start |
Starts a Node.js server for the production build |
yarn lint |
Runs the linter on the project files |
yarn lint:ts:check |
Checks ESLint errors |
yarn lint:ts:fix |
Fixes ESLint issues |
yarn format:check |
Checks formatting rules on all files |
yarn format:fix |
Applies formatting rules to all files |
yarn typecheck |
Performs a type check on TypeScript files |
yarn prepare |
Sets up Husky for git hooks |
If this test project has helped or inspired you, please consider giving it a š« on GitHub. Or, if you simply liked it, a star is also much appreciated!
This section provides a friendly reminder to users about supporting the project, fostering a positive community interaction.