An open API service indexing awesome lists of open source software.

https://github.com/postor/ts-react-router-tailwind-admin


https://github.com/postor/ts-react-router-tailwind-admin

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# ts-react-router
fullstack bolierplate with shack.js | 基于 shack.js 的全栈模板

## structure | 文件结构

```
+-- apis # each exported function in this folder is a backend api | 此文件夹下导出的函数都被用作后台接口
+-- web # front end codes | 前端代码
| +-- index.tsx # entry | 前端代码入口
| +-- index.html # htnl template| 前端代 html 模板
+-- dist # compiled codes for production usage | 编译后用于产线的代码
```

## usage | 使用

dev(hot-reload for frontend only) | 开发(热加载仅限前端代码)

```
npm run dev
```

production | 产线

```
npm run build
npm run start
```

docker-compose

```
docker-compose up
```