mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-12 06:43:24 +03:00
332cd3b380
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. |
||
---|---|---|
.. | ||
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/storage build
Run server
yarn dev
now you can access the server GraphQL endpoint at http://localhost:3000/graphql