All Projects → liutian → light-push-admin

liutian / light-push-admin

Licence: other
推送服务控制台界面

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to light-push-admin

Elm Hnpwa
Elm implementation of the Hackernews PWA
Stars: ✭ 135 (+382.14%)
Mutual labels:  spa, pwa
Productivity Frontend
Productivity Application - Kanban Style Productivity Management Application with Customizable Boards, Lists and Cards to Make You More Productive.
Stars: ✭ 234 (+735.71%)
Mutual labels:  spa, pwa
Cezerin
Cezerin is React and Node.js based eCommerce platform.
Stars: ✭ 1,985 (+6989.29%)
Mutual labels:  spa, pwa
Prestashop
Free PWA & SPA for PrestaShop
Stars: ✭ 59 (+110.71%)
Mutual labels:  spa, pwa
edliz
This 7th essential medicines list and standard treatment guidelines for the most common health conditions in Zimbabwe has been endorsed by the National Medicine & Therapeutics Policy Advisory Committee [NMTPAC]. It is the product of many years of combined efforts by hundreds of health workers at all levels of the health care system in Zimbabwe. …
Stars: ✭ 25 (-10.71%)
Mutual labels:  spa, pwa
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (+203.57%)
Mutual labels:  spa, pwa
Notadd
A microservice development architecture based on nest.js. —— 基于 Nest.js 的微服务开发架构。
Stars: ✭ 2,556 (+9028.57%)
Mutual labels:  spa, material2
Aurelia
Aurelia 2, a standards-based, front-end framework designed for high-performing, ambitious applications.
Stars: ✭ 995 (+3453.57%)
Mutual labels:  spa, pwa
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (+267.86%)
Mutual labels:  spa, pwa
Angular-Reactive-Demo-Shop
Angular Demo Shop
Stars: ✭ 79 (+182.14%)
Mutual labels:  spa, angular5
Laravel Vuejs.com
Laravel and VueJs Blog, using Laravel nova, GraphQL, NuxtJs, Apollo and ...more
Stars: ✭ 54 (+92.86%)
Mutual labels:  spa, pwa
web
🧱 Write your website in pure Swift with power of webassembly. DOM, CSS and all the WebAPIs are available out of the box.
Stars: ✭ 44 (+57.14%)
Mutual labels:  spa, pwa
Opencart
Free PWA & SPA for OpenCart
Stars: ✭ 50 (+78.57%)
Mutual labels:  spa, pwa
Laqul
A complete starter kit that allows you create amazing apps that look native thanks to the Quasar Framework. Powered by an API developed in Laravel Framework using the easy GraphQL queries language. And ready to use the Google Firebase features.
Stars: ✭ 110 (+292.86%)
Mutual labels:  spa, pwa
Elm Hn Pwa
Hacker News as a PWA built with Elm
Stars: ✭ 43 (+53.57%)
Mutual labels:  spa, pwa
Icongenie
CLI tool to generate all the icons and splashscreens for your Quasar Apps
Stars: ✭ 174 (+521.43%)
Mutual labels:  spa, pwa
Vuefront Nuxt
Vuefront Nuxt module for building components based on config.
Stars: ✭ 16 (-42.86%)
Mutual labels:  spa, pwa
Hoppscotch
👽 Open source API development ecosystem https://hoppscotch.io
Stars: ✭ 34,569 (+123360.71%)
Mutual labels:  spa, pwa
Butterfly Server
The Everything is Real-Time C# Backend for Single Page Applications
Stars: ✭ 247 (+782.14%)
Mutual labels:  spa, push
badaso
The API & platform builder, build your apps 10x faster even more, it's open source & 100% free !
Stars: ✭ 650 (+2221.43%)
Mutual labels:  spa, pwa

LightPushAdmin

基于Angular8和material8推送服务控制台界面

快速体验

  • sudo docker run -id -p 443:443 -p 80:80 --name light-push-demo liuss/light-push:1.2.0 /mnt/data/start.sh
  • 访问管理页面: https://127.0.0.1/push-admin 登录名 admin 密码 123456

调用方式

// demo: 命名空间;uuid: 客户端唯一标示;userid: 客户端所属的用户ID
let socket = io.connect('https://127.0.0.1:55555/demo?uuid=' + uuid + '&userid=' + userid, {
  path: '/push/socket.io/'
});

socket.on('connect', function () {
  // 客户端主动加入房间
  socket.emit('joinRoom', ['room1'], function (result) {
    console.log('joinRoom:' + JSON.stringify(result));
  });
  
  // 接收服务器端的推送消息
  socket.on('push', function (data) {
    console.log('push:' + JSON.stringify(data));
    // 消息确认回执
    socket.emit('ackPush', { id: data.id });
  });
  
  // 客户端主动离开房间
  socket.emit('leaveRoom', ['room2'], function (result) {
    console.log('leaveRoom:' + JSON.stringify(result));
  });
});

注意事项

独立部署时,需要将packae.json中第9行的域名,替换为你自己的域名,并注意是否有https,否则在build生成的js和css文件还是指向原有的域名,导致启动失败

 "build": "ng build -prod --vendor-chunk --sourcemaps --base-href /push-admin/ --deploy-url https://ipush.onesykes.com/push-admin",
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].