Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Split client and server into independent packages #174

Merged
merged 6 commits into from Jun 29, 2017

Conversation

c-w
Copy link
Contributor

@c-w c-w commented Jun 15, 2017

This pull request makes the server and client packages independently deployable and runnable. This makes the developer story slightly worse (we now have to run two servers in separate shells, see updates in readme), but it gives us a number of benefits, including:

  • Better long-term maintainability by increasing the logical separation between client and server.
  • Option to have client and server depend on different versions of the same package. This is a requirement for using GraphQL+Apollo since the Apollo React client and the Apollo Express server rely on different versions of the Apollo core library.
  • Ability to publish client and server as independent npm modules, e.g. to deploy them to separate webapps or to include them selectively in third-party pages.

This pull request is a necessary pre-condition for a potential Fortis/Ibex integration, but has value on its own for the reasons mentioned above. As such, I propose to merge this pull request before we start the Fortis/Ibex integration.

c-w added 6 commits June 14, 2017 12:38
Previously Travis auto-installed yarn for us because we had a yarn.lock
file in the repository root -- now we no longer have this so we have to
manually set it up.
@c-w c-w requested a review from morsh June 15, 2017 14:01
@morsh morsh removed their assignment Jun 26, 2017
@morsh morsh added this to the Ibex vnext milestone Jun 27, 2017
@morsh morsh merged commit 528d073 into ibex-version-1.0 Jun 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants