Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Implement server using Hapi.js (succeeded) with GraphQL support (failed) #3

Merged
merged 7 commits into from
Mar 31, 2020

Conversation

maacpiash
Copy link
Owner

@maacpiash maacpiash commented Mar 31, 2020

The server is now implemented using Hapi.js (@hapi/hapi) as a ReST API. Data validation is added using Joi (@hapi/joi).

Unfortunately, the apollo-server-hapi package is incompatible with @hapi/hapi — it only works with the older hapi package, which is now deprecated.

The new package, @apollo/server, might be the solution (see apollographql/apollo-server#3184), but it is still in beta and lacks documentation of any sort. Hopefully this will be implemented in the near future.

Ahad Chowdhury added 7 commits March 27, 2020 14:25
- Remove GraphQL dependencies that don't work with @hapi/hapi
- Add more suitable dependencies for GraphQL implementation
- Add a couple of useful devDependencies for �uild command
- Modify �uild command for cleanup and copying GraphQL file
@maacpiash maacpiash merged commit ffc49e3 into master Mar 31, 2020
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.

1 participant