Skip to content

wolfiton/abs_wow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbsWow

Minimal example project with Wormwood Absinthe Test

File Location

Context Blog located in: lib/abs_wow/blog.ex with Schema Post located in: lib/abs_wow/blog/post.ex

Absinthe Schema is located in: lib/abs_wow_web/schema.ex Absinte Resolver located in: lib/abs_wow_web/resolvers/blog_article.ex

Wormwood File location test

The GQL files for Wormwood are located in: test/support/schema/queries

The Absinthe Test file is located in: /test/abs_wow_web/schema/queries/blog_artcile_test.ex

To start your Phoenix server:

  • Install dependencies with mix deps.get

  • Edit the config/dev.exs and config/test.exs with your username of the postgress database user

    Example: For me it is dan

  • Create and migrate your database with mix ecto.setup

  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000/api/graphiql from your browser.

The interface is playground

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages