AFFiNE/packages/backend/server
LongYinan 332cd3b380
refactor(core): split web entry from core (#6082)
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry.
We should remove all browser/electron only codes from `core` eventually, this is the very first step for that.
2024-03-19 07:48:56 +00:00
..
migrations fix(server): user can not signup through oauth if ever invited (#6101) 2024-03-13 07:50:11 +00:00
scripts refactor(server): auth (#5895) 2024-03-12 10:00:09 +00:00
src fix(server): do not force sign in password length (#6188) 2024-03-19 10:58:34 +08:00
tests fix(server): wrap read-modify-write apis with distributed lock (#6142) 2024-03-19 02:16:24 +00:00
.env.example fix: improve self-host convenience (#5582) 2024-01-15 09:24:53 +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 refactor(core): split web entry from core (#6082) 2024-03-19 07:48:56 +00:00
README.md refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
schema.prisma fix(server): user can not signup through oauth if ever invited (#6101) 2024-03-13 07:50:11 +00:00
tsconfig.json fix(server): wrap read-modify-write apis with distributed lock (#6142) 2024-03-19 02:16:24 +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