Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/billhu0/sqrpress_571
Toy Template. Treat it as a React version of: https://github.com/uct8086/jsonVee
https://github.com/billhu0/sqrpress_571
d3 express nodejs react sqlite vite
Last synced: 28 days ago
JSON representation
Toy Template. Treat it as a React version of: https://github.com/uct8086/jsonVee
- Host: GitHub
- URL: https://github.com/billhu0/sqrpress_571
- Owner: billhu0
- License: mit
- Created: 2024-04-18T13:26:55.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T14:35:04.000Z (9 months ago)
- Last Synced: 2024-10-26T18:44:25.077Z (3 months ago)
- Topics: d3, express, nodejs, react, sqlite, vite
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/sqrpress_571
- Size: 276 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SqRpress_571
An efficient front-end integration framework, based on [**Sq**l](https://www.sqlite.org/), [**R**eact](https://react.dev/), [Ex**press**](https://expressjs.com/), [Vite](https://vitejs.dev/) and [CS571](https://www.cs571.org).
## 更新
- 2024-04-18: 首次发布
1. 客户前端在 `templates/frontend/` 中,采用Vite+React构建,更快,依赖更简单
2. 服务端在 `templates/backend/` 中,采用Express+SQLite构建,更高效,更易维护
## 运行与调试
1. 直接运行以下命令即可:
```
npx sqrpress_571 my_project_name
```会自动克隆模板并安装依赖。
然后, `cd my_project_name` 即可.
2. 基本运行项目
2.1 启动后端
```
cd backend
npm start
```2.2 启动前端
```
cd frontend
npm run dev
```## 目录
```
├─backend // 后端,服务端
│ ├─includes
│ └─src
└─frontend // 前端,客户端
├─public // 静态资源文件
└─src
└─assets
```