mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 20:11:33 +03:00
ba325a6040
This aligns better with the postgres config in [server development guide](https://github.com/toeverything/AFFiNE/blob/canary/docs/developing-server.md). |
||
---|---|---|
.. | ||
migrations | ||
scripts | ||
src | ||
tests | ||
.env.example | ||
.gitignore | ||
LICENSE | ||
package.json | ||
README.md | ||
schema.prisma | ||
tsconfig.json | ||
tsconfig.node.json |
Server
Get started
Install dependencies
yarn
Build Native binding
yarn workspace @affine/server-native build
Run server
yarn dev
now you can access the server GraphQL endpoint at http://localhost:3000/graphql