这里分类汇总了 LeanCloud 平台上的官方示例程序。
如果要提交使用了 LeanCloud 的开源项目,请到 awesome-leancloud 开源社区里进行提交。
Demo 分类:iOS、Swift、Android、JavaScript、LeanEngine、LeanCache、Unity、Windows Phone、PHP、React Native、REST API、Python
本教程将模拟一个发布商品的场景,向你讲解 LeanCloud 的数据存储 LeanStorage 的核心使用方法。
项目地址:https://github.com/leancloud/StorageStarted
展示了 LeanCloud 的存储功能。
项目地址:https://github.com/leancloud/LeanStorageDemo-iOS
此项目是为了让大家能快速上手熟悉 LeanCloud IM SDK。之前推出的 LeanChat ,我们发现其中含杂了许多 UI 代码,不利于大家学习上手。因此我们推出了 LeanMessageDemo,只有最精简的 UI、最核心的 SDK 用法。
项目地址:https://github.com/leancloud/LeanMessage-Demo
事件流系统的 Demo,有关注、发状态、时间线等功能。
项目地址:https://github.com/leancloud/Share
iOS 小项目,用来展示如何快速集成 LeanCloud 反馈模块
项目地址:https://github.com/leancloud/ios-feedback-demo
LeanCloud SMS Demo 是 LeanCloud 开源的一个短信 demo 程序
项目地址:https://github.com/leancloud/leancloud-smsdemo-ios
全面展示了 LeanCloud 的存储功能,同时有 Objective C 和 Swift 版本。重点示例了 AVObject、AVQuery、AVFile、AVUser 这几个类下的 Api,较全面。推荐。
项目地址:https://github.com/leancloud/LeanStorageDemo-iOS
本教程将模拟一个发布商品的场景,向你讲解 LeanCloud 的数据存储 LeanStorage 的核心使用方法。
项目地址:https://github.com/leancloud/StorageStarted
LeanStorageDemo-Android 涉及到基本的增删改查、子类化、用户处理、文件处理,很全面,非常推荐。
项目地址:https://github.com/leancloud/LeanStorageDemo-Android
此项目是用 LeanCloud 事件流系统组件做的类似朋友圈的分享小应用。具有时间线、发文字发图、点赞、关注的模块或功能。
项目地址:https://github.com/leancloud/WeShare
推送 Demo,可学到如何快速集成 LeanCloud 的推送服务。
项目地址:https://github.com/leancloud/android-push-demo
示例了 QQ 、微博授权登录。
项目地址:https://github.com/leancloud/android-sns-demo
短信验证码示例项目。
项目地址:https://github.com/leancloud/android-sms-demo
本教程将模拟一个发布商品的场景,向你讲解 LeanCloud 的数据存储 LeanStorage 的核心使用方法。
项目地址:https://github.com/leancloud/StorageStarted
ticket-app是一个工单系统,用了大部分LeanCloud上的功能。
项目地址:https://github.com/leancloud/ticket-app
在线网站:https://ticket.avosapps.com
云代码接入微信的例子,利用云代码可快速搭建微信服务号的后端。
项目地址:https://github.com/leancloud/cloud-code-weixin
该项目是 LeanEngine Node.js 项目的代码合集,包括了推荐的最佳实践和常用的代码片段。适合云引擎的开发者阅读、参考,也可以将代码片段复制到你的项目中使用。
项目地址:https://github.com/leancloud/leanengine-nodejs-demos
Flask Todo Demo 是一个 LeanEngine 的示例项目。它运行在 Python 3 上,依赖 flask 和 LeanCloud Python SDK。你可以在 这里 查看在线 demo。
项目地址:https://github.com/leancloud/flask-todo-demo
该项目是 LeanCache 的示例项目,包含了一些典型的使用场景,使用 Node.js 和 Express 实现。
项目地址:https://github.com/leancloud/lean-cache-demos
LeanCloud todo demo for Slim PHP Framework
项目地址:https://github.com/leancloud/slim-todo-demo
React Native 上传图片
项目地址:https://github.com/leancloud/react-native-image-upload-demo
本 Demo 演示了如何在 React Native for iOS 中使用 LeanCloud 的推送服务。
项目地址:https://github.com/leancloud/react-native-installation-demo
使用各种语言调用 LeanCloud REST API 的例子源码,提供给开发者参考。