Git Product home page Git Product logo

eoapi-remote-server's Introduction

eoapi-remote-server

Eoapi 远程数据源后端服务,部署后即可通过公共数据源实现简单团队协作。

如果你的数据不需要共享,也可以仅下载客户端单机使用。

部署

请访问 部署文档

开发

Node.js 版本:^16

如果想提高开发效率,可以安装 NestJS 官方提供的命令行 nestjs/cli 快速生成组件、服务等模板。

npm i -g @nestjs/cli

【可选】如果你觉得本地搭建 MySQL 比较麻烦的话,你还可以使用 Docker 单独启动一个 MySQL 服务供开发时使用(默认端口号: 33066), 例如:

docker-compose run -d --service-ports mysql
  1. 安装依赖
yarn 
  1. 运行数据库迁移脚本
yarn migration:run
  1. 运行代码
yarn start:dev

运行

命令 描述
npm run start:dev 运行服务器

更新数据库

命令 描述
npm run migration:generate -- -n TestMigration 生成迁移
npm run migration:run 运行更新
npm run migration:revert 回滚最后一次更新

打包构建

命令 描述
npm run build 打包代码

协议

本项目采用 Apache-2.0 协议,可查看 LICENSE.md 了解更详细内容。

eoapi-remote-server's People

Contributors

buqiyuan avatar scarqin avatar everright 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.