Giter Site home page Giter Site logo

cloudblog's Introduction

云开发微博客

项目介绍

微信小程序,基于腾讯云开发,旨在完整的展示如何基于TCB cli,Tcb Framework和一键快速部署按钮对云开发项目进行快速的迁移和部署。

效果预览

项目依赖

项目结构

本小程序采用基于云开发的原生开发,用到了云数据库存储数据,使用云函数和小程序端进行数据交互。

小程序端,引入mobx统一对数据进行管理,解耦页面数据与交互逻辑。

云函数端,使用Tcb Router统一中控路由请求,业务处理统一在services层进行。

快速部署

本地开发

拉取项目当本地,进入miniprogram目录,npm install, 并在ide中开启“使用npm模块”,工具中“npm 构建”。

修改 miniprogram/utils/env.js,填入自己的环境id进行本地开发调试(此处的envID在一键部署或者本地tcb cli的时候,是通过prehook自动写入的)。

即可愉快的进行本地的开发了。

cloudblog's People

Contributors

yautah 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.