Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 7, 2021 04:55 pm GMT

Build APIs without code

I have been involving in building no code API builder platform Fireapis where now APIs can be built within minutes and can be consumed easily.No need to worry about deployment, scalability, availability, etc..,
Another thing is we can create different APIs resources for different environments (stage, prod, dev, or any, etc..,)

Now, I'll show you how to make an example (we say Plan) API without any code and consume our Plan API

First, enter into https://fireapis.com/ and signup, its free account

First step:
You will be landed on the Dashboard page after signup or login, go to the Environments tab

The first thing is we have to create an environment

image

image

Enter our environment name, domain URL, and a short description about the environment, then click Add

Now we have created our environment.

Second step:

Next thing, we have to go to the API tab section, Click Add new API button

image

Enter the name and URL of our endpoint and select the environment for which API has to be built

image

Now, we are going to add fields for our API. Here for eg, I have added name as string type, amount as a numeric type,is_active as boolean, description as a string that can accept null and blank values. For primary key leaving a blank as it will auto add field id as primary key, if not added custom primary key

image

image

After adding all fields, click Add.

Now successfully we have created Plan API

Third Step:
Now we are going to test our Plan API endpoint by using the
autogenerated curl command

image

Going to test different request by using the auto-generated curl command

image

We have got success response after making a POST request for Plan API

Now we going to make GET request for the primary key using curl command

image

image

Now we have got a response for GET request using the primary key

Finally

We can check our logs, now we enter into the Logs tab section

image

image

image

We can see a detailed log report for different requests

Now we have created an API that can do CRUD operation in few minutes

Fireapis?

Solving the development time and difficulties in coding, scaling, and storage of data using API within few minutes.

Fireapis also provides Logs for all the request coming in and out for your different set of environments

We hope you liked this write up and got the gist of fireapis on how it can be used in your projects

Feel free to reach out to us by Email([email protected]) if you would like to know more about Fireapis.

Id love to hear what you think of Fireapis and if there is anything we can improve.

Catch you in the next one


Original Link: https://dev.to/vasanth7781/build-apis-without-code-4g2j

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To