finds.dev← search

// the find

mtianyan/VueDjangoAntdProBookShop

★ 1,398 · Python · updated Mar 2023

Vue前台 + Django3.1 + DjangoRestful Framework + Ant Design Pro V4 开发的二手书商城网站及后台管理

A secondhand book marketplace demo built with Vue 2 on the frontend and Django 3.1 + DRF on the backend, with Alipay payment integration and an Ant Design Pro admin panel. It's a teaching project — the kind of thing you'd clone to understand how a Chinese e-commerce stack fits together, not something you'd ship to real users.

The Docker Compose setup is genuinely convenient for getting the full stack running locally without fighting dependency hell. The Alipay integration is useful as a reference — that flow is poorly documented in English and seeing a working implementation is worth something. DRF serializers and viewsets are used throughout, so the project does model a real Django REST API structure rather than hacking things together with class-based views. The admin backend generated via TyAdmin (the recommended xadmin replacement) reduces boilerplate significantly.

Last pushed March 2023, pinned to Django 3.1 which is end-of-life — the requirements.txt is a security liability you'd have to audit before running anything in production. The README hardcodes a MySQL root password ('mtianyanroot') in the docker-compose instructions, which is the kind of thing that ends up in prod configs when people copy-paste. The Vue frontend is Vue 2 (EOL since end of 2023) and ships compiled dist files alongside source, which is messy version control hygiene. There's no test coverage worth mentioning — the test files exist but are Django's empty scaffolding stubs.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →