AFFiNE/packages/backend/server
LongYinan fc3516acfb
Merge pull request #4746 from toeverything/data-migrations-system
feat(server): add data migration system
2023-10-30 06:36:18 +00:00
..
migrations feat(server): add data migration system 2023-10-30 11:12:09 +08:00
scripts refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
src Merge pull request #4746 from toeverything/data-migrations-system 2023-10-30 06:36:18 +00:00
tests refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
.env.example refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
.gitignore refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
LICENSE refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
package.json feat(server): add data migration system 2023-10-30 11:12:09 +08:00
README.md refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
schema.prisma feat(server): add data migration system 2023-10-30 11:12:09 +08:00
tsconfig.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
tsconfig.node.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00

Server

Get started

Install dependencies

yarn

Build Native binding

yarn workspace @affine/storage build

Run server

yarn dev

now you can access the server GraphQL endpoint at http://localhost:3000/graphql