qxl1231 / Generator Loopback Vue
app版本管理,(热更新)前后端分离,vue page分页功能,authenticate 权限控制,accesstoken机制,credentials,CI,docker
Stars: ✭ 202
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Generator Loopback Vue
Fvm
Flutter Version Manager. Flutter 多版本管理工具。 本地缓存安装多个 Flutter 版本,随时快速切换
Stars: ✭ 170 (-15.84%)
Mutual labels: version-manager
Rest Crud
RESTFul CRUD Example with Node.js and Mysql
Stars: ✭ 188 (-6.93%)
Mutual labels: restful-api
Ha Dockermon
A NodeJS RESTful API which can be used with Home Assistant to report the state of Docker Containers
Stars: ✭ 171 (-15.35%)
Mutual labels: restful-api
Springboot Restful Starter
SpringBoot RESTful API 脚手架
Stars: ✭ 176 (-12.87%)
Mutual labels: restful-api
Graphql2rest
GraphQL to REST converter: automatically generate a RESTful API from your existing GraphQL API
Stars: ✭ 181 (-10.4%)
Mutual labels: restful-api
Finale
Create flexible REST endpoints and controllers from Sequelize models in your Express app
Stars: ✭ 167 (-17.33%)
Mutual labels: restful-api
Lumen Api Starter
Lumen 8 基础上扩展出的API 启动项目,精心设计的目录结构,规范统一的响应数据格式,Repository 模式架构的最佳实践。
Stars: ✭ 197 (-2.48%)
Mutual labels: restful-api
Django Restfulapi
基于 Django 3.x 的 RESTfulAPI 风格的项目模板,用于快速构建企业级高性能的服务端。
Stars: ✭ 184 (-8.91%)
Mutual labels: restful-api
Eddi
Scalable Open Source Chatbot Platform. Build multiple Chatbots with NLP, Behavior Rules, API Connector, Templating. Developed in Java, provided with Docker, orchestrated with Kubernetes or Openshift.
Stars: ✭ 171 (-15.35%)
Mutual labels: restful-api
Mockinizer
An okhttp / retrofit api call mocking library
Stars: ✭ 176 (-12.87%)
Mutual labels: restful-api
Nodejs Master Class
🛠 This repository contains the homework assignment for Node.js Master Class that is focused on building a RESTful API, web app GUI, and a CLI in plain Node JS with no NPM or 3rd-party libraries
Stars: ✭ 182 (-9.9%)
Mutual labels: restful-api
Myapp
🖥️ How to build a Dockerized RESTful API application using Go.
Stars: ✭ 171 (-15.35%)
Mutual labels: restful-api
Vertx Blueprint Todo Backend
Vert.x Blueprint Project - A reactive todo-backend implementation using Vert.x and various persistence
Stars: ✭ 169 (-16.34%)
Mutual labels: restful-api
Proteus
Lean, mean, and incredibly fast JVM framework for web and microservice development.
Stars: ✭ 178 (-11.88%)
Mutual labels: restful-api
Route
Route - Fast, flexible routing for PHP, enabling you to quickly and easily build RESTful web applications.
Stars: ✭ 200 (-0.99%)
Mutual labels: restful-api
Vsphere Automation Sdk Rest
REST (Postman and JavaScript) samples and API reference documentation for vSphere using the VMware REST API
Stars: ✭ 182 (-9.9%)
Mutual labels: restful-api
热更新,热部署 前后端分离实践
generator-loopback-vue
首先,为什么需要前后端分离?强烈推荐看下

以下是本项目的feature:(loopback中国讨论组-群号:575600225)
- Strongloop是是如何通过一行命令和代码实现restful API接口,包括CRUD等14个接口
- model是如何定义的,以及model-relation 定义,以及ACL接口权限控制等
- CI持续集成的配置,Docker容器,docker部署文件
- 如何登录鉴权,以及接口权限控制
- vue1.0/2.0 是如何玩?以及vue-resouce的使用,vue-router,webpack,babel等
- loopback自带的authenticate 权限控制,accesstoken机制,credentials
- strong-pm 部署命令,以及slc主要命令
- 如何把项目部署在daocloud中,以及集成daovoice服务
- 增加了个vue-pagenav 组件的使用 实现分页功能
Docker镜像
最新版本: latest 镜像地址: daocloud.io/qxl1231/lb-vue2
在线demo:(使用第三方daocloud平台(免费版),每天手动启动,如遇服务挂了,请见谅^.^)
http://loopback-vue.daoapp.io/
帐号:test,密码:testpwd
部分截图
The project is generated by LoopBack.+vue.js.
如何启动:(国内用cnpm(先运行npm i cnpm -g),国外用npm)
1. npm i
2. 修改datasources.json 中的数据库配置比如:localhost:27017
3. node server/bin/create-admin.js 添加管理员帐号,密码
3.npm run build:js & node .(cold reload) --hot reload npm run watch:js
遇到问题1:loopback+vue 不能运行
1.npm install 2.npm run build:js 3.node .
问题2:热部署
To use hot reload, please try this command:
npm run watch:js & node .
热启动:
npm run watch:js & node .
问题3:If you have error, try this:
npm install
vueify-insert-css vue-hot-reload-api
babel-core babel-preset-es2015
babel-plugin-transform-runtime [email protected]
--save-dev
Hot reloading detail:
其他help===>loopback 常用命令行:
- slc loopback 初始化项目
- slc loopback:datasource
- slc loopback:model
- slc loopback:relation
- slc loopback boot-script
others:deploy and status
- slc deploy http://usr:[email protected]:port
- slpmctl -C http://usr:[email protected]:8701 ls
- slpmctl -C http://usr:[email protected]:8701 status
- pm2 start -n weather app.js
- pm2 start -n app_update_server server.js
LICENSE
MIT
捐赠
No | ID | github |
---|---|---|
1 | JLF | https://github.com/cnJLF |
2 | 萧大大 | https://github.com/freemember007 |
3 | you | |
4 | are next |
❤❤❤❤感谢我的兄弟们大力支持❤❤❤❤❤❤:
- No.1 [JLF]:https://github.com/cnJLF
- No.2 [萧大大]:https://github.com/freemember007
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].