CRANQ helps you to build your back-end quickly with low-code, and access powerful, wrapped Web3 APIs like Moralis or Pinata, even if you have minimal coding experience.
The CRANQ IDE is free-to-download and balances flexibility with ease-of-use as never before! Get started today and create Web3 functionality at lightning speed.
After pressing Click Me to start, then Right click anywhere to create a new node.
Then Left click on a port and drag to make a connection.
Learn how to test a simple API endpoint using CRANQ in under 2 minutes. You will use 2 nodes, a Store, and a json request dispatcher to return placeholder data from the https://reqres.in/api/users/2 practice endpoint
Here we will authenticate a user to an API in Cranq and secure a token, before passing back that token and making a request to the endpoint. To do this we will add extra nodes including a JSON request dispatcher (with a POST method), and then feed login credentials into it. The API response comes as a dictionary, from which we can retrieve the token using an Item Getter. We can then use the token to authenticate our original request.
It's time to move to the next level and automate our API test. First, we will tidy up our programme to make it more human-readable, and expose the User Record and the Status. Then we will use an Equality Asserter node and a Has Key Asserter node to explore and check our requested data.
We will prepare the assertions for loading into a reporter, by wrapping your initial assertions in the Case Template component, which will add further data like Timestamp and Description to your User ID and Status test. This will flesh out the results of your test and make those results more useful.
Use a JUnit Reporter node to turn your assertions into an xml report that you can forward to a file or to an API. Well done for completing the course!
Output 'Hello World' to the console by building your first CRANQ program. You will learn basic skills like adding and connecting nodes, storing data and reading it using a Store node, and logging data to the Output by running the program.
Transform your data by taking the output from Store nodes and concatenating them with a string Concatenator node. You will also learn how to move nodes around, pan the canvas, and use the Inspector panel.
Transform your data further by using multiple transformations trained together. In this lesson you will practice using the Concatenator, changing node names and port values. You will learn the importance of providing a Start signal to every node.
The beauty of CRANQ is the ability to create nodes with endlessly customisable behaviours, and to wrap those nodes within others, and easily manipulate them. This lesson will show you how to create your first Structure node, and build functionality inside that node.
Structural Nodes are powerful tools, because once you've made one it's easy to re-use it for other purposes. In this lesson, we will expand our cosmic greeting with a clone of our first structural node.
Use the store to hold a list value, then iterate through that list with an iterator node. Debug your program with a debug node that logs to the console.
CRANQ is an alpha-stage product, so you may see a Windows warning screen like this when you try to install it.
Just click on 'More Info'
This screen will then appear with the 'Run Anyway' button.
Click on that button!