Accepted answer

Yes you can do it.

You can use yarn workspaces to share some packages between theses two project

You have to create two different workspaces, one for the frontend and another for the backend

Here is more information about it. They have a really nice documentation

Related Query

More Query from same tag