Skip to content

Falco GraphQL Sample πŸ£πŸ’™πŸ’›πŸ€πŸ’š

License

Notifications You must be signed in to change notification settings

adelarsq/falco_graphql_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Falco GraphQL Sample using .NET 8

Falco is a toolkit for building secure, fast, functional-first and fault-tolerant web applications using F#.

GraphQL is an open-source data query and manipulation language for APIs.

This project is a sample showing how to use GraphQL on Falco using .NET 8.

For .NET 6 check dotnet_6 branch.

How to use?

On the terminal run with:

cd src/HelloWorld
dotnet run

The server will start on the address http://127.0.0.1:8080.

Queries

With a GraphQL client you can test with the follow queries:

query {
    viewer {
      id
      name
      age
    }
}

image

Query with fragments:

fragment userFragment on User {
    widgets(first: 10) {
        edges {
            node {
                id
                name
            }
        }
    }
}
  
query {
    viewer {
        ...userFragment
    }
}

image

Acknowledgments

About

Falco GraphQL Sample πŸ£πŸ’™πŸ’›πŸ€πŸ’š

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published