🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

@byteinspire-template/express

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byteinspire-template/express

此项目运行在[轻服务云工程](https://qingfuwu.cn/docs/cloud-project/quickstart.html)中。

npmnpm
Version
0.0.3
Version published
Maintainers
2
Created
Source

轻服务云工程 Express 项目

此项目运行在轻服务云工程中。

轻服务云工程提供开箱即用的开发体验,开发者无需考虑服务器和数据库等基础设施的搭建,更不用操心测试环境配置、数据备份和线上运维等一系列繁琐之事,只需专注于产品开发本身。

安装轻服务 CLI

npm i -g @byteinspire/cli

更多 CLI 的使用方法,可参考:安装和使用 CLI

本地开发项目

inspirecloud dev

更多本地开发细节,可参考:本地调试云工程

部署项目至云端

inspirecloud deploy

inspirecloud deploy -m "Deploying a new feature."

更多部署项目的细节,可参考:部署云工程

项目目录

project
  |- node_modules    # 该项目的依赖项的安装目录
  |- public          # 静态资源目录
  |- src             # 包含主要逻辑文件的目录,为 Express 的工程文件
      |- controllers   # controller 是业务入口
      |- models        # model 负责数据操作
      |- routes        # route 是路由定义
      |- services      # service 是业务定义
      |- app.js        # app 是 Express 实例定义
  |- index.js        # 云工程的入口文件
  |- inspirecloud.json  # 轻服务云工程配置文件
  |- package.json    # npm 的通用配置文件
  |- .gitignore      # Git 管理时标识忽略内容的文件

反馈

有任何问题和建议,欢迎使用飞书扫描下方二维码,加入官方支持群反馈。

lark-group

Powered By 轻服务 - 面向未来的云服务

FAQs

Package last updated on 26 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts