Git Product home page Git Product logo

examples's Introduction


Logo

StepZen Examples

Welcome! StepZen is a unique and declarative way to build & run any-sized Graph in minutes. Here you'll find examples of using StepZen with different tools and stacks to help you jump-start your project.

Each repository has a README with instructions on how to get started. If you get stuck, reach out to us in Discord and we'd love to help! The repo include the following examples:

List of examples

Here's a list of our current examples:

Contributing

Want to contribute? See the file CONTRIBUTING to get started.

examples's People

Contributors

ajcwebdev avatar arpitpandey0209 avatar carloseberhardt avatar cerchie avatar daniel-shuy avatar ddebrunner avatar helloitsm3 avatar neelshah2409 avatar royderks avatar samuelghill avatar sridhraj avatar stepr-hw avatar tiluckdave avatar vlukashov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

examples's Issues

Connection failure. JDBC EXCEPTION

stepzen import mysql --db-host='db.introspection.stepzen.net' --db-database='introspection' --db-user='testUserIntrospection' --db-password='HurricaneStartingSample1934' --name='stepzen'
Starting... fail
A problem occurred while processing your import. Please check that the given database details are valid.
DB Error.
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.: "com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.\n\tat com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)\n\tat com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)\n\tat com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:828)\n\tat com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:448)\n\tat com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)\n\tat com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)\n\tat java.sql/java.sql.DriverManager.getConnection(Unknown Source)\n\tat java.sql/java.sql.DriverManager.getConnection(Unknown Source)\n\tat com.stepzen.introspection.db.DBHandler.getConnection$$anonfun$1$$anonfun$2$$anonfun$1$$anonfun$1(DBHandler.scala:50)\n\tat zio.ZIOCompanionVersionSpecific.attempt$$anonfun$1(ZIOCompanionVersionSpecific.scala:103)\n\tat zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:1107)\n\tat zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:1007)\n\tat zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:930)\n\tat zio.internal.FiberRuntime.evaluateEffect(FiberRuntime.scala:385)\n\tat zio.internal.FiberRuntime.evaluateMessageWhileSuspended(FiberRuntime.scala:508)\n\tat zio.internal.FiberRuntime.drainQueueOnCurrentThread(FiberRuntime.scala:225)\n\tat zio.internal.FiberRuntime.run(FiberRuntime.scala:138)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\nCaused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\n\tat java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)\n\tat com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)\n\tat com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)\n\tat com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)\n\tat com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)\n\tat com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)\n\tat com.mysql.cj.NativeSession.connect(NativeSession.java:120)\n\tat com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:948)\n\tat com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:818)\n\t... 17 more\nCaused by: java.net.UnknownHostException: 'db.introspection.stepzen.net': Name does not resolve\n\tat java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)\n\tat java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source)\n\tat java.base/java.net.InetAddress.getAddressesFromNameService(Unknown Source)\n\tat java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source)\n\tat java.base/java.net.InetAddress.getAllByName0(Unknown Source)\n\tat java.base/java.net.InetAddress.getAllByName(Unknown Source)\n\tat java.base/java.net.InetAddress.getAllByName(Unknown Source)\n\tat com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130)\n\tat com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)\n\t... 20 more\n"

Please help to fix the issue.
@royderks

facing error while using stepzen login command.

C:**\Desktop\clones\next-JS-clone\stepzen-weather-app\stepzen>stepzen login
What is your account name?: What is your account name?: guinisiliban
What is your admin key?: ************************************************************************************************************************
» Error: We are unable to verify your account details. Could you please check them? (Error: An unexpected error
» occurred. TypeError [ERR_INVALID_URL]: Invalid URL)

This is what I'm getting when I use the correct account name & admin key.

list of repos that need README work

  • with-gatsby <- There are gatsby instructions, but no StepZen instructions
  • with-next <- There are netlify/next instructions, but no StepZen instructions
  • with-firebase-nextjs-dashboard <- Needs full re-write -- this is no longer a challenge but a stable sample.
  • with-google-analytics <- needs readme -- only boilerplate c-r-a readme is present
  • with-react-native <- partway there, needs context/background info, needs instructions on how to install StepZen
  • with-nuxt <- partway there, needs instructions on how to install StepZen
  • with-apigee <- needs context, instructions on how to install StepZen

These are the green-highlighted repos that need a little readme work. Here is a template that might make updating the missing parts easier. It has some boilerplate on signing up for SZ etc. https://github.com/stepzen-dev/template

stepzen login cli command gives error

Describe the bug
stepzen login command gives an error :
SyntaxError: Unexpected token {

To Reproduce
Steps to reproduce the behavior:
node version : 8.9.4
npm version : 5.6.0
stepzen version : [email protected]

Expected behavior
stepzen login should not give a syntax error : SyntaxError: Unexpected token {
we should be able to login successfully.

Screenshots

Desktop (please complete the following information):
windows OS laptop

image

JWT Validation (AzureB2C, IBM AppId)

Describe the bug
Inability to validate a JWT generated by IBM AppId & Azure B2C. The JWT from Auth0 works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy the following example "https://github.com/stepzen-dev/examples/tree/main/with-postgresql"
  2. Update the config yaml file with the following:
    image
  3. Go to 'Explorer'
  4. Click on 'Headers'
  5. Add the JWT token to the Authorization Header '{ "Authorization" : "Bearer "JwtFromAppId" or "JwtFromAzureB2C"}'

image

6. Executing the Query results in an authorization error (401 Unauthorized: missing or not allowed)

Issue with mongodb example

Describe the bug
I am trying to kickstart a project with stepzen mongodb, everything else seems to work good except when i try to query from stepzen it doesn't work

list of samples to add

Use StepZen with XXXX

Describe your suggested sample here:

  1. What: Describe the architecture and tooling involved, with links to the docs page of everything outside of StepZen
  2. Why: Describe the reason you believe this would make a useful StepZen sample for other developers to use

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.