Giter Club home page Giter Club logo

miniprogram's Introduction

云开发模式的小程序demo

看到有人fork的,所以还是完善一下。稍微搞一搞readmd。

首先是一些完成的效果

image

image

image

跑这个项目的话。本地没有数据库的话,所以可能卡在某个地方。因为这是很早的项目了,云开发刚出来就做了。所以踩坑了,有些地方有点乱,也不打算整理。

一些踩坑建议

  • 不知道现在云开发的更新近况。但是云开发其实提供了客户端直接操作数据库的能力。但是权限很低。所以,尽量不要去用客户端直接写入数据库。不然数据更新或者获取有问题他没报错,就裂开了。你不能改别人添加的数据。尽管这是你的数据库。
  • 把云函数当作后端接口去用。
  • 这小程序的实时聊天是用leancloud的即时通讯服务

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.