https://github.com/yisibell/next-app-starter
A ssr app starter build by Koa +Next(12) + React + Redux + Typescript + Emotion styled engine + Material UI.
https://github.com/yisibell/next-app-starter
css-in-js emotion koa material-ui nextjs12 nodejs react18 redux ssr typescript
Last synced: about 2 months ago
JSON representation
A ssr app starter build by Koa +Next(12) + React + Redux + Typescript + Emotion styled engine + Material UI.
- Host: GitHub
- URL: https://github.com/yisibell/next-app-starter
- Owner: yisibell
- License: mit
- Created: 2022-06-21T05:51:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T09:53:25.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T20:35:46.653Z (about 2 months ago)
- Topics: css-in-js, emotion, koa, material-ui, nextjs12, nodejs, react18, redux, ssr, typescript
- Language: TypeScript
- Homepage:
- Size: 326 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# next-app-starter
A ssr app starter build by Koa + Next + React + Redux + Typescript + Emotion styled engine + Material UI.
# Setup
``` bash
# 安装依赖
$ yarn install# 开发
$ yarn dev# 构建
$ yarn build
# 构建(ft)
$ yarn build:ft# 启动
$ yarn start
# 启动(ft)
$ yarn start:ft
# 通过 pm2 启动
$ yarn pm2:start
# 通过 pm2 启动(ft)
$ yarn pm2:start-ft
# 在 docker 环境中通过 pm2-runtime 启动
$ yarn pm2:docker:start
# 在 docker 环境中通过 pm2-runtime 启动(ft)
$ yarn pm2:docker:start-ft```