/Phoenix-qlTest

Phoenix Mongo GraphQL Test

Primary LanguageElixir

Phoenix-qlTest

Phoenix Mongo GraphQL Test

  • Add Deps

  • Dev/Test config with mongo

  • mix deps.get

  • cd assets/ npm i

  • delete all sandbox postgres stuff in test files

  • created schema/types.ex

  • created a schema for query - web/schema.ex

  • add a resolver for schema types - web/resolvers/x

  • Sibling to Web for Ecto.Schema -- Blog/post.ex

In Mongo

  • Created DB
  • Created Collection
  • Insert Dummy Data