README.md 1.34 KB

The api for Luban-H5 powered by Strapi

#!zh: 鲁班H5的后端接口,由 Strapi 强力驱动

Project setup

#!zh: 项目启动

# install strapi globally
# #!zh: 全局安装 strapi
npm install strapi@beta -g

yarn install

strapi develop

# #!en: default database is sqlite3(h5-api/.tmp/data.db)
# #!zh: 默认数据库是 sqlite3,位置在 h5-api/.tmp/data.db
# visit http://locahost:1337/admin

Warning

#!zh: 注意事项

  1. if you dev locally, if the api give you 403 Forbidden, please select all the options in [Roles And Permission] -> [Public] - [Permissions]

#!zh: 本地开发,如果后端接口报错 403 Forbidden,请 编辑 下图的 [Roles And Permission] -> [Public] - [Permissions] 里面打开接口的访问权限接口

image

image

Features(zh)

  • 创建、保存、更新作品
  • 在线预览
  • 二维码预览
  • 表单数据收集
  • 表单数据展示

Features(en)

  • create work
  • save work
  • update work
  • Online Preview
  • QR Code Preview
  • Form Statistics