博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[Node.js] Initialize a LoopBack Node.js Project through the CLI
阅读量:6863 次
发布时间:2019-06-26

本文共 658 字,大约阅读时间需要 2 分钟。

LoopBack is a framework built on top of Express for creating APIs. It allows you to create end-to-end REST APIs that can access data from many data sources such as MondoDB, PostgreSQL, MySQL or other REST APIs.

In this lesson you will learn how to install loopback-cli and create a new LoopBack API project. After creating the basic LoopBack project through the CLI, running the server will give us access to the project and API Explorer urls. The user model will be available to us because user authentication was enabled.

 

Install:

npm install -g  loopback-cli

 

Make a project floder:

mkdir loopback-democd loopback-demo

 

Create app:

lb app

 

Run the app

node .

 

转载地址:http://ipqyl.baihongyu.com/

你可能感兴趣的文章
Algs4-2.1.38不同类型的元素
查看>>
MapReduce源码分析总结(转)
查看>>
linux cpu、内存、硬盘空间查询
查看>>
idea 启动调试模式总提示端口58346被占用问题
查看>>
Pro JPA2读书笔记系列(八)-第八章(查询语言)
查看>>
oracle目录操作
查看>>
主流ETL工具
查看>>
fileinput 图片上传
查看>>
UUID
查看>>
Selenium2+Python--下拉选择用select
查看>>
easyui 跳转页面语句
查看>>
golang 中unicode包用法
查看>>
20165226第二次实验
查看>>
2018.8.3记
查看>>
python 循环列表的同时做删除操作
查看>>
转载学习:Objective-C常用的函数,
查看>>
shell脚本 expect 实现自动登陆
查看>>
SEH结构化异常处理
查看>>
OGG_GoldenGate数据迁移三进程Extract / Dump / Relicat(案例)
查看>>
OAF_文件系列11_实现OAF读写Excel包JXL和POI的区别(概念)
查看>>