看着小县城的小店主天天手写记账
我找了一圈免费的进销存,每一个好使的
于是自己开发了一款

EasyBook
EasyBook is a small inventory and bookkeeping app for local shops.
Stack
-
Go backend
-
Vue 3 frontend
-
MySQL storage
Quick start
Option 1: Use a local MySQL installation
-
Install MySQL 8.x on your machine, or use any existing MySQL server.
-
Create a database named `easybook` with `utf8mb4` charset.
-
Import `schema.sql` into that database.
-
Update `config.yaml` with your MySQL connection and initial admin account.
-
Start the backend:
```bash
go run ./cmd/server
```
- Open `http://localhost:8080` on desktop or mobile.
The first login uses the bootstrap account from `config.yaml`:
-
`bootstrap_username`
-
`bootstrap_password`
Option 2: Use a custom config file
Set `EASYBOOK_CONFIG` if you want to point to another YAML file:
```powershell
$env:EASYBOOK_CONFIG="E:\path\to\config.yaml"
go run ./cmd/server
```
Option 3: Docker later
The included `docker-compose.yml` is only a convenience. You do not need Docker to run EasyBook.
Handy scripts
-
`.\build.ps1` builds `bin\EasyBook.exe`
-
`.\run.ps1` starts the app and writes a PID file
-
`.\stop.ps1` stops the running app
Features in this first cut
-
Dashboard summary
-
Products
-
Stock in and stock out
-
Mobile-friendly layout
-
Config-file based startup
-
Login and role-based access