Go to file
Boris Bo Wang 19062e8503
ci: enable continuous integration (#88)
* fix: handle lint error

* ci(ci-packages): adjust the execution order to build first

* chore: add dev and build scripts to openapi

* chore: add dev and build scripts to db-main-prisma

* chore: add scripts in icons and openapi

* fix: successfully run all hopefully successful single tests

* chore: sync dependencies

* fix: circular dependency

* fix: build error

* fix: test error

* ci: disabled part of the github workflow

* fix: db file
2023-07-14 18:58:08 +08:00
.changeset chore: change project links details 2022-11-01 18:06:18 +08:00
.github ci: enable continuous integration (#88) 2023-07-14 18:58:08 +08:00
.husky chore: initialize project 2022-11-01 17:36:07 +08:00
.idea chore: initialize project 2022-11-01 17:36:07 +08:00
.vscode feat: extract standerd formatting from fields (#75) 2023-07-03 18:16:00 +08:00
.yarn/releases chore: initialize project 2022-11-01 17:36:07 +08:00
apps ci: enable continuous integration (#88) 2023-07-14 18:58:08 +08:00
docs feat: update lookup field when change link field (#82) 2023-07-07 16:16:20 +08:00
packages ci: enable continuous integration (#88) 2023-07-14 18:58:08 +08:00
sh feat: enable table inline attachments upload and enhance file upload API workflow 2023-06-06 18:29:20 +08:00
static/assets/images feat: add tai logo and update prompt 2023-04-18 16:04:38 +08:00
.codeclimate.yml chore: initialize project 2022-11-01 17:36:07 +08:00
.dockerignore chore: initialize project 2022-11-01 17:36:07 +08:00
.gitattributes chore: initialize project 2022-11-01 17:36:07 +08:00
.gitignore feat: add APIs for upload and preview attachments (#39) 2023-05-17 17:15:55 +08:00
.gitpod.yml chore: initialize project 2022-11-01 17:36:07 +08:00
.ncurc.yml chore: initialize project 2022-11-01 17:36:07 +08:00
.npmrc chore: initialize project 2022-11-01 17:36:07 +08:00
.nvmrc chore: initialize project 2022-11-01 17:36:07 +08:00
.prettierignore chore: initialize project 2022-11-01 17:36:07 +08:00
.prettierrc.js chore: initialize project 2022-11-01 17:36:07 +08:00
.vercelignore chore: initialize project 2022-11-01 17:36:07 +08:00
.yarnrc.yml feat: add nest server into electron (#5) 2022-11-18 11:17:17 +08:00
cache.config.js chore: initialize project 2022-11-01 17:36:07 +08:00
CHANGELOG.md feat: use localstorage, improve dev exp (#11) 2022-12-01 13:54:01 +08:00
CODE_OF_CONDUCT.md chore: initialize project 2022-11-01 17:36:07 +08:00
commitlint.config.js chore: initialize project 2022-11-01 17:36:07 +08:00
constraints.pro chore: initialize project 2022-11-01 17:36:07 +08:00
CONTRIBUTING.md refactor: rename ts-utils to core 2022-12-13 14:45:46 +08:00
DEVELOPER.md docs: move developer doc into DEVELOPER.md 2023-04-01 02:25:15 +08:00
docker-compose.nextjs-app.yml chore: initialize project 2022-11-01 17:36:07 +08:00
docker-compose.yml chore: initialize project 2022-11-01 17:36:07 +08:00
Dockerfile chore: change project links details 2022-11-01 18:06:18 +08:00
LICENSE chore: initialize project 2022-11-01 17:36:07 +08:00
lint-staged.common.js chore: initialize project 2022-11-01 17:36:07 +08:00
lint-staged.config.js chore: change project links details 2022-11-01 18:06:18 +08:00
monorepo.code-workspace feat: created a monorepo for icons (#80) 2023-07-06 11:09:39 +08:00
package.json feat: enable table inline attachments upload and enhance file upload API workflow 2023-06-06 18:29:20 +08:00
README.md docs: update dev onboarding step 2023-05-23 10:19:23 +08:00
renovate.json5 chore: initialize project 2022-11-01 17:36:07 +08:00
TROUBLESHOOT.md chore: initialize project 2022-11-01 17:36:07 +08:00
tsconfig.base.json chore: initialize project 2022-11-01 17:36:07 +08:00
yarn.lock ci: enable continuous integration (#88) 2023-07-14 18:58:08 +08:00

Teable logo

An AI native visualization database that empowers everyone

We believe that databases will become the infrastructure of generative AI in the same way as computing power. By utilizing database capabilities, every enterprise, organization, and even individual can train their own private AI assistant to gain a competitive edge.

build Codefactor Maintainability Techdebt Codacy grade LoC GitHub top language Licence

Features

🧠 Teable Copilot

Native Integrated AI, Powered by GPT-3.5-turbo

  • Chat 2 App. "Create a project management app for me"
  • Chat 2 Chart. "Analyze the data in the order table using a bar chart"
  • Chat 2 View. "I want to see the schedule for the past week and only display participants"
  • Chat 2 Action. "After the order is paid and completed, an email notification will be sent to the customer"

🔒 Privacy-First

You own your data, in spite of the cloud

  • Data storage local first
  • Offline desktop client support
  • Sync & collaboration to cloud in just one click

🚀 Super Fast

Build in minutes scale to millions

  • Support for data sets of over one million rows
  • Support database indexes
  • Support server side render

Real-time collaboration

Designed for teams

  • Seamless real-time collaboration among multiple people
  • Thoughtful and detailed permission control ability

🧩 Extensions

Expand infinite possibilities

  • Backend-less programming capability based on React
  • Customize your own application with extremely low cost
  • Extremely easy-to-use script extensions mode

🤖 Automation

Empower data-driven workflows effortlessly and seamlessly

  • Design your workflow with AI or Visual programming
  • Super easy retrieve data from table

Seamless integration with the software you are familiar with

  • BI tools like Metabase PowerBi...
  • No-code tools like appsmith...
  • Direct retrieve data with native sql

🗄️ Database adapter

Choose the database you like

  • Sqlite, PostgreSQL, MySQL, TiDB, Snowflake...

Structure

Open in Gitpod

.
├── apps
│   ├── nextjs-app          (front-end, include web and electron app )
│   └── nestjs-backend      (backend, running on server or inside electron app)
└── packages
    ├── common-i18n         (locales...)
    ├── core                (share code and interface between app and backend)
    ├── sdk                 (sdk for extensions)
    ├── db-main-prisma      (schema, migrations, prisma client)
    ├── eslint-config-bases (to shared eslint configs)
    └── ui-lib              (storybook)

Run Project

1. Install

yarn install

2. DB migration

cd packages/db-main-prisma
# generate ts interface
yarn prisma generate
# create db schema
yarn prisma-db-push
# fill seed data
yarn prisma-db-seed

3. Config .env file

config openai ai endpoint and key

cd apps/nextjs-app
copy .env.example .env.development.local

open .env.development.local

OpenAI is not available in some country. To solve this problem, we recommend using https://api-openai.teable.io as an endpoint. This is an unrestricted proxy deployed on Vercel.

OPENAI_API_KEY=your-api-key
OPENAI_API_ENDPOINT=openai-endpoint

4. Run dev server

you should only start backend, it will start next server for front-end automatically, file change will be auto reload

cd apps/nestjs-backend
tsc --build --watch
# run in a new terminal
yarn dev

Developers

Goto developer readme

Sponsors ❤️

If you are enjoying some this project in your company, I'd really appreciate a sponsorship, a coffee or a dropped star. That gives me some more time to improve it to the next level.

License

AGPL-3.0