https://github.com/yuler/store
Mini Store
https://github.com/yuler/store
miniprogram shop store wechat wechat-miniprogram
Last synced: 10 months ago
JSON representation
Mini Store
- Host: GitHub
- URL: https://github.com/yuler/store
- Owner: yuler
- License: mit
- Created: 2020-10-14T10:48:14.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T06:04:41.000Z (almost 3 years ago)
- Last Synced: 2025-07-19T19:55:58.390Z (11 months ago)
- Topics: miniprogram, shop, store, wechat, wechat-miniprogram
- Language: TypeScript
- Homepage:
- Size: 1.12 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# store
> A store
[](https://pnpm.io/)
## Struct
```bash
/
├── apps
│ │── docs # Documents
│ │── api # Backend API
│ │── cms # CMS
│ └── mini # WeChat Miniprogram
├── packages
│ └── shared # Shared Utils
│── prisma # Prisma Configs
└── shots # Screen Shots
```
## Tech Stacks
- [PNPM](https://pnpm.io/)
- [Turbo](https://turborepo.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [WeChat Miniprogram](https://developers.weixin.qq.com/miniprogram/dev/framework/)
- [Windi CSS](https://windicss.org/)
- [NestJS](https://nestjs.com/)
- [Prisma](https://www.prisma.io/)
- [Nuxt 3](https://v3.nuxtjs.org/)
## Develop Guide
- `pnpm install` # Install dependencies
- `copy .env.example .env` # Setup environment variable
- `pnpm run db:generate` # Prisma Generate Artifacts
- `pnpm run db:deploy` # Prisma Migrate deploy
### apps/mini
- `pnpm run --filter mini ide open` # Open the WeChat Devtool IDE
- `gh secret set MINI_PRIVATE_KEY < apps/mini/private.xxx.key` # Upload key to GitHub Secret
### apps/api
- `docker-compose up -d` # Up DB service
- `gh secret set -f .env` # Upload `.env` to GitHub Secret
## Q/A
- `docker pull --platform linux/amd64 mysql` # For M1 Mac
## Refs
- [Sequel Ace](https://github.com/Sequel-Ace/Sequel-Ace) Database Management Application