Giter Site home page Giter Site logo

ai_launch's Introduction

AI_LAUNCH

ai_launch

这是使用云开发能力构建的待办事项小程序模板,其中演示了云开发三大基础能力的使用:

  • 数据库:对文档型数据库进行读写
  • 文件存储:在小程序前端直接上传/下载云端文件,在云开发控制台可视化管理
  • 云函数:在云端运行的代码,微信私有协议天然鉴权,开发者只需编写业务逻辑代码

部署方式

  • 在左上角点击【云开发】按钮,进入云开发控制台。
  • 如果没有环境则按照提示开通云开发环境
  • 进入云开发环境,在【设置】页复制环境ID
  • 在控制台数据库页,创建云开发数据库 todo
  • 右键点击 cloudfunctions/getOpenId 文件夹,选择云函数云端安装依赖上传
  • 如果在新建项目时,小程序下有云开发环境,则会默认注入第一个环境,如果想更换为自己想要的环境,只需要将 miniprogram/envList.js 文件里的内容全部替换成如下,注意替换envId
module.exports = {
  envList: [{
    envId:'上述步骤中你获得的环境ID'
  }]
}

ai_launch's People

Contributors

powerless520 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.