Skip to content

ThaddeusJiang/nextjs-12-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React App Starter

You shouldn't start a wonderful app from scratch every time.

~ TJ

Detect Secrets Test Deployment Commitizen friendly Twitter: ThaddeusJiang

Features:

  • Out of box API mocking.
  • Out of box Authentication.
  • Beautiful Data fetching.
  • Easy Form validation.
  • Out of box Utility-First CSS.
  • Out of box CI/CD.
  • Out of box lint and code format.
  • Out of box Infrastructure as Code.
  • A little of Components.
  • ... and more

Built with

Install

yarn install

Usage

Create .env file base on sample.env then run below command

cp sample.env .env

About the secret token, ask @ThaddeusJiang

yarn dev

Run tests

yarn test

Run storybook

yarn storybook

Deploy to Vercel

Deploy with Vercel

Author

Auth Providers

github

Memo

其实我想用 Ramdajs ,但是我也不是特别熟。 暂时先继续使用 lodash/fp 吧。

关于报表可视化,需要评估 d3js , 目前使用 react-charts 。

folder structure

.
├── client // UI clients
│   └── apis
├── components // UI Components
├── data
│   ├── reals
│   └── mocks // mock data
├── mocks // Mock Service Worker handlers
├── modules
│   ├── customer
│   │   └── apis
│   │   └── components
│   └── task
│   │   └── apis
│       └── components
├── pages
│   ├── api // Auth API
│   │   └── auth
│   ├── customers // UI Pages
│   ├── ...
│   ├── ...
├── public
├── styles
├── types
└── utils
└── tailwind.config.js