Code Monkey home page Code Monkey logo

kingke's Introduction

#kingke

基于微信服务号APIMeteor开发课程管理SaaS平台kingke

Requirements

  • 用户作为教师可以创建和编辑课程(markdown格式),创建课程时生成一个课程永久二维码(微信服务号带参数的二维码)
  • 用户作为学生通过扫描教师分享的课程二维码加入该班级,学生可以查看自己的课程列表及课程资料
  • 教师可以给某个班级所有学生发文字通知(微信服务号模板消息)
  • 学生可以收到课程通知
  • 用户(教师和学生)可以查看和编辑个人名片,个人名片中包含个人临时二维码(微信服务号带参数的二维码)
  • 扫描用户个人二维码自动互加联系人,用户可以查看联系人列表
  • 用户可以创建聊天群组,比如创建课程时默认创建课程群,课程的所有学生自动加入该群,新加入课程的学生也自动加入课程群;用户也可以在联系人列表中选择其他用户创建聊天群组;聊天信息在服务器端存储。用户可以退出聊天群组。
  • 课程内容及结构要求
    • 课程必须包含名称、简介(限制300字以内)及目录(即为章节标题的列表链接);
    • 可以创建多个章节,每个章节都有一个标题和一个markdown格式的可编辑文档;

QuickStart

  • 下载、安装、运行
//安装meteor,如果已经安装过了请忽略
curl https://install.meteor.com/ | sh
//下载kingke代码
git clone https://git.coding.net/mengning/kingke.git
//运行kingke
cd kingke
sudo meteor --port 80
  • 申请微信公众平台测试号
    • 接口配置url类似http://your.domain.name/weixin
    • 接口配置token自己定义,与项目配置文件server/config.js填写一致即可
    • 体验接口权限表-网页服务-网页帐号-网页授权获取用户基本信息-修改,只填写域名,比如your.domain.name
    • 创建消息模板,模板参见INSTALL.md
  • 修改配置文件server/config.js
//Warning!!!
//Do Not Commit this file!!!
exports.token = "YOUR_TOKEN"; //自己定义,与申请测试号时填写一致即可
exports.appID = "YOUR_APPID"; 
exports.appsecret = "YOUR_APPSECRET";
exports.url = "YOUR_DOMAIN_NAME" //只填写域名,比如your.domain.name
exports.notify_templet_id = "YOUR_TEMPLET_ID"; //你的通知模板ID
exports.follow_template_id = "YOUR_TEMPLET_ID"; //你的关注消息模板ID
  • 启动meteor即会自动设置菜单
  • 更多安装部署指南参考INSTALL.md

Links

kingke's People

Contributors

wesleywang27 avatar lcnju avatar xiatian007 avatar

Watchers

James Cloos avatar  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.