Skip to content

Mbeaulne/ash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NormBoiler

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Start Docker docker-compose up
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Now you can start making api (GraphQL) calls to localhost:4000/api

or you can visit localhost:4000/graphiql from your browser to view the schema and start writing request

Creating a record using the GraphQL schema looks a little like:

mutation{
  createUser(email: "[email protected]", password: "123456789", passwordConfirmation: "123456789", userName: "Matthews") {
      jwt
  }
}

Quering the api would look something like this:

query {
  users {
    id,
    email
  }
}

Ready to run in production? Please check our deployment guides.

Learn more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages