Plain Api - Thin wrapper around your favorite HTTP client to simplify your api calls
Repository
https://github.com/naorye/plain-api
What is the project about?
Almost every project (mainly frontend and even node) use apis. Many lines of code should be written in order to use those apis, even if we use an advanced HTTP client (like axios):
- Define the url
- Interpolate params
- Request header and body
- Parse the response
There is always the question of where to put this code. Plain Api answers that question by providing a thin factory that organizes and saperates all the above.
Technology Stack
Javascript, Babel, axios
Roadmap
Add more examples, implement suggestions from the community. Mainly extend the library to support all variations of inputs and parsing.
How to contribute?
- Fork it (https://github.com/naorye/plain-api/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
✅ @naorye, I gave you an upvote on your first post! Please give me a follow and I will give you a follow in return!
Please also take a moment to read this post regarding bad behavior on Steemit.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Congratulations @naorye! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You published your First Post
You got a First Vote
Award for the number of upvotes received
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Hey @naorye
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
interesante