https://github.com/yuler/eat
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuler/eat
- Owner: yuler
- Created: 2020-07-17T17:55:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T05:21:31.000Z (over 3 years ago)
- Last Synced: 2025-04-06T12:13:18.464Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 739 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What To Eat
”吃啥好“ 小程序

# Tech Stack
- [原生小程序框架](https://developers.weixin.qq.com/miniprogram/dev/reference)
- [小程序云开发](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)
# Project Struct
```
├── snapshot // 屏幕快照
├── database // module 示例
├── scripts // 工程化脚本
```
# Deploy
发送 PR,然后添加 `preview` 标签,会自动部署到预览环境,确认无误后提交审核。
审核通过合并代码,GitHub Release。小程序后台/小程序助手 上全量发布。
# Models
Define Some model fields type base on [wxcloud database](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/database/data-type.html)
```typescript
Restaurant {
name: string
cover: string
score: number
recommend: string
posters: string[]
location: string[] // Geo
}
```
# Note
开发工具报错
```
/bin/sh: npx: command not found
```
```bash
sudo ln -s `which npx` /usr/local/bin/npx
sudo ln -s `which node` /usr/local/bin/node
```