# vue_server_api **Repository Path**: moon-full/vue_server_api ## Basic Information - **Project Name**: vue_server_api - **Description**: 给vue提供服务端的接口 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2021-03-18 - **Last Updated**: 2021-09-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 说明 - 此项目主要了是为学习[vue客户端](https://github.com/Louis-me/autoapiclient) 配套的服务端 ## 使用设置 - 注意setting.py中的mysql的数据库设置 ``` DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'mydb', # 数据库名字 'USER': 'root', # 帐号 'PASSWORD': '123456', # 密码 'HOST': '127.0.0.1', # IP 'PORT': '3306', # 端口 } } ``` - 迁移数据库 ``` python manage.py makemigrations python manage.py migrate ```