Sem descrição

xinyan 91bef660d0 feat(price-approval):价格审批模块下直销、供货、成本查看功能添加 há 5 meses atrás
public 828a9896ff 样式修改:首页、系统配置 há 6 meses atrás
src 91bef660d0 feat(price-approval):价格审批模块下直销、供货、成本查看功能添加 há 5 meses atrás
.env 365939bbc7 调整主题配置和布局样式 há 8 meses atrás
.env.development 399eb23c36 refactor(env): 更新 API 地址并优化数据展示 há 5 meses atrás
.env.local_prod 202561f3ce Initial commit há 8 meses atrás
.env.production 202561f3ce Initial commit há 8 meses atrás
.eslintignore 202561f3ce Initial commit há 8 meses atrás
.eslintrc.js 202561f3ce Initial commit há 8 meses atrás
.gitignore 202561f3ce Initial commit há 8 meses atrás
.prettierrc.js 202561f3ce Initial commit há 8 meses atrás
LICENSE 202561f3ce Initial commit há 8 meses atrás
README.en.md 202561f3ce Initial commit há 8 meses atrás
README.md 202561f3ce Initial commit há 8 meses atrás
components.d.ts e34bf3ee42 refactor: 移除 components.d.ts 中的 ProgressBar 组件引用 há 6 meses atrás
index.html 2ed70d6442 style(product-manage): 调整 SKU 提示文本样式 há 6 meses atrás
package-lock.json cd457cb5a3 企业微信扫码登录 há 6 meses atrás
package.json cd457cb5a3 企业微信扫码登录 há 6 meses atrás
plugins.d.ts 202561f3ce Initial commit há 8 meses atrás
postcss.config.js 202561f3ce Initial commit há 8 meses atrás
shim.d.ts 202561f3ce Initial commit há 8 meses atrás
source.d.ts 202561f3ce Initial commit há 8 meses atrás
tailwind.config.js b25f2f6b1a 优化商品列表页面布局和功能 há 7 meses atrás
tsconfig.json 202561f3ce Initial commit há 8 meses atrás
vite.config.ts 6a1dfdb97e feat(product-manage): 新增评论详情和历史详情页面 há 6 meses atrás

README.en.md

Django-Vue3-Admin

img img PyPI - Django Version badge img img

preview | Official website document | qq group | community | plugins market | Github

💡 「About」

We are a group of young people who love Code. In this hot era, we hope to calm down and bring some of our colors and colors through code.

Because of love, so embrace the future

framework introduction

💡 django-vue3-admin Is a set of all open source rapid development platform, no reservation for individuals and enterprises free use.

  • 🧑‍🤝‍🧑Front-end adoption Vue3+TS+pinia+fastcrud。
  • 👭The backend uses the Python language Django framework as well as the powerfulDjango REST Framework
  • 👫Permission authentication useDjango REST Framework SimpleJWT,Supports the multi-terminal authentication system.
  • 👬Support loading dynamic permission menu, multi - way easy permission control.
  • 💏 Special thanks: vue-next-admin.
  • 💡 💏 Special thanks:jetbrains To provide a free IntelliJ IDEA license for this open source project.

Online experience

👩‍👧‍👦👩‍👧‍👦 demo address:https://demo.dvadmin.com

  • demo account:superadmin

  • demo password:admin123456

👩‍👦‍👦docs:https://django-vue-admin.com

communication

source code url:

gitee(Main push):https://gitee.com/huge-dream/django-vue3-admin👩‍👦‍👦

github:no data

core function

  1. 👨‍⚕️ Menu management: Configure the system menu, operation permissions, button permissions, back-end interface permissions, etc.
  2. 🧑‍⚕️ Department management: Configure the system organization (company, department, role).
  3. 👩‍⚕️ Role management: role menu permission allocation, data permission allocation, set roles according to the department for data range permission division.
  4. 🧑‍🎓 Rights Specifies the rights of the authorization role.
  5. 👨‍🎓 User management: The user is the system operator, this function mainly completes the system user configuration.
  6. 👬 Interface whitelist: specifies the interface that does not need permission verification.
  7. 🧑‍🔧 Dictionary management: Maintenance of some fixed data frequently used in the system.
  8. 🧑‍🔧 Regional management: to manage provinces, cities, counties and regions.
  9. 📁 Attachment management: Unified management of all files and pictures on the platform.
  10. 🗓 ️operation logs: log and query the system normal operation; Log and query system exception information. 11.🔌 plugins market : based on the Django framework - Vue - Admin application and plug-in development.

plugins market 🔌

before start project you need:

Python >= 3.8.0 
nodejs >= 14.0
Mysql >= 5.7.0 (Optional. The default database is sqlite3. 8.0 is recommended)
Redis(Optional, the latest edition)

frontend♝

# clone code
git clone https://gitee.com/huge-dream/django-vue3-admin.git

# enter code dir
cd web

# install dependence
npm install --registry=https://registry.npm.taobao.org

# Start service
npm run dev
# Visit http://localhost:8080 in your browser
# Parameters such as boot port can be configured in the #.env.development file
# Build the production environment
# npm run build

backend💈

1. enter code dir cd backend
2. copy ./conf/env.example.py to ./conf dir,rename as env.py
3. in env.py configure database information
 mysql database recommended version: 8.0
 mysql database character set: utf8mb4
4. install pip dependence
 pip3 install -r requirements.txt
5. Execute the migration command:
 python3 manage.py makemigrations
 python3 manage.py migrate
6. Initialization data
 python3 manage.py init
7. Initialize provincial, municipal and county data:
 python3 manage.py init_area
8. start backend
 python3 manage.py runserver 0.0.0.0:8000
or daphne :
  daphne -b 0.0.0.0 -p 8000 application.asgi:application

visit backend swagger

  • visit url:http://localhost:8080 (The default address is this one. If you want to change it, follow the configuration file)
  • account:superadmin password:admin123456

docker-compose

docker-compose up -d
# Initialize backend data (first execution only)
docker exec -ti dvadmin-django bash
python manage.py makemigrations 
python manage.py migrate
python manage.py init_area
python manage.py init
exit

frontend url:http://127.0.0.1:8080
backend url:http://127.0.0.1:8080/api
# Change 127.0.0.1 to your own public ip address on the server
account:`superadmin` password:`admin123456`

# docker-compose stop
docker-compose down
#  docker-compose restart
docker-compose restart
#  docker-compose on start build
docker-compose up -d --build

Demo screenshot✅

image-01

image-02

image-03

image-04

image-05

image-06

image-07

image-08

image-09

image-10