Drupal-REST-API-starter:一个简单的 Drupal 8 安装配置文件,突出显示了与 Drupal 的 RESTful 交互

时间:2021-07-14 11:50:05
【文件属性】:
文件名称:Drupal-REST-API-starter:一个简单的 Drupal 8 安装配置文件,突出显示了与 Drupal 的 RESTful 交互
文件大小:54KB
文件格式:ZIP
更新时间:2021-07-14 11:50:05
PHP REST API 入门 一个简单的 Drupal 8 安装配置文件,突出显示了与 Drupal 的 RESTful 交互。 安装 安装和初始化。 $ > npm install $ > grunt 安装站点。 根据需要更改数据库网址$ > drush @restapi si --db-url=mysql://restapi:restapi@localhost/restapi -y 创建一个用户并给他们管理员(或者,为另一个角色配置权限) $ > drush ucrt --mail=example@example.com --password=pass mytestuser $ > drush user-add-role administrator --name=mytestuser 创建内容$ > curl --include --request POST --user m
【文件预览】:
Drupal-REST-API-starter-master
----composer.json(1KB)
----features()
--------bootstrap()
----package.json(306B)
----Gruntconfig.json(653B)
----behat.yml(319B)
----Gruntfile.js(165B)
----src()
--------profiles()
--------project.make.yml(189B)
--------static()
--------sites()
--------themes()
--------modules()
----phpmd.xml(854B)
----.gitignore(99B)
----README.md(896B)

网友评论