180 Star 1.6K Fork 386

GVPAPITable/APITable

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
.do
.github
.husky
.vscode
backend-server
docs
gateway/conf.d
init-db
licenses
packages
ai-components
api-client
components
core
cypress
databus-client
databus-wasm-nodejs
databus-wasm-web
databus-wasm
datasheet
i18n-lang
icons
l10n
room-server
env
src
test
.eslintrc
.gitignore
.prettierrc
README.md
app-config.json
ecosystem.config.js
jest-ut.config.json
nest-cli.json
package.json
sonar-project.properties
tsconfig.build.json
tsconfig.json
typings.json
widget-sdk
packaging
patches
scripts
.bumpversion.cfg
.dockerignore
.env
.env.devenv
.eslintignore
.eslintrc
.gitignore
.gitpod.yml
.npmrc
.nvmrc
.pnpmfile.cjs
.prettierignore
.prettierrc
.sdkmanrc
.version
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
LICENSING.md
Makefile
README.md
README_ZH.md
SECURITY.md
build.js
commitlint.config.js
common-tsconfig.json
crowdin.yml
docker-bake.hcl
docker-compose.dataenv.yaml
docker-compose.devenv.yaml
docker-compose.unit-test.yaml
docker-compose.yaml
nx.json
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
render.yaml
tsconfig.json
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

Room Server

Structure

graph TD;         Database-->Application;     Actuator-->Application;         Automation-->Application;         Fusion-->Application; Grpc-->Application; Node-->Application; User-->Application; Unit-->Application; Developer-->Application; Attachment-->Database; Dashboard-->Database; Datasheet-->Database; Form-->Database; Mirror-->Database; Resource-->Database; Shared-->Attachment; Shared-->Dashboard; Shared-->Datasheet; Shared-->Form; Shared-->Mirror; Shared-->Resource; Shared-->Database; Shared-->Actuator; Shared-->Automation; Shared-->Fusion; Shared-->Grpc; Shared-->Node; Shared-->User; Shared-->Unit; Shared-->Developer;

shared module is a shared and global module that other modules depend on in default.

Description

TypeScript server project based on Nest framework

Learning Materials

Dependencies

Installation

yarn install

Running the app

# basic mode
$ yarn start

# watch mode
$ yarn start:dev

# debug/watch mode
$ yarn start:debug

# production mode, remember to execute `yarn build` before running
$ yarn start:prod

Test

# you can use `pnpm` or `npx`, the examples below use `pnpm`.
# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Environment variables

See env/.env.defaults for more details

Define local variables for local development

You can create a .env.development.local file in the env folder to define environment variables for local development. This file is typically ignored by Git, so you can use it to store sensitive or environment-specific information that you don't want to commit to your repository.

If a variable is defined in both the .env.development.local file and the .env.defaults file, the value in the .env.development.local file will take precedence. This allows you to override the default values for certain variables when developing locally, while still maintaining a set of default values that can be used in other environments.

Deployment environment:

process.env.NODE_ENV enum: 'development' | 'production'

backend-server(JAVA) service api address

process.env.BACKEND_BASE_URL default: http://localhost:8081/api/v1/

redis configuration

redis host process.env.REDIS_HOST

redis port process.env.REDIS_PORT

redis password process.env.REDIS_PASSWORD

redis db process.env.REDIS_DB

Service exposed port

process.env.PORT default: 3333

Logging Framework

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/apitable/APITable.git
git@gitee.com:apitable/APITable.git
apitable
APITable
APITable
develop

Search