Minimalist REST client for JSON APIs. Run it from your browser!
polo-final.mov
Please install Docker, then follow these steps:
> git clone git@github.com:mssantos/polo.git
> cd polo
> docker compose up --build
Now Polo is ready on http://localhost:4000.
This project is built with Elixir and Phoenix. Most of the functionality is powered by Phoenix LiveView.
Custom JavaScript is used for the code editor, though it's kept minimal. While Tailwind is installed, the styles are primarily written in custom CSS and will remain that way.
Polo supports request collections by using NimblePublisher. Although Polo is designed to run on a local machine, you can share collections with others using Git.
To do this, follow these steps:
- Create a new folder in
/priv/collections
. The name of the folder should match the name of your collection; - Add a new markdown file to the collection folder. The name of the file will be how the request appears in the collections sidebar;
- Follow the template below to create a new request:
<!--- The JSON represents the request attributes. It must match the `Polo.Client.Request` from the source code. -->
{
"method": "get",
"url": "https://animechan.xyz/api/random"
}
---
<!--- This block represents the documentation of the endpoint. You can use Markdown syntax here. -->
This endpoint returns a random quote from anime.
You can see some examples in /priv/collections/polo
directory.
- Use issues for bugs and discussions;
- Submit pull requests for code suggestions;
- Don't be an asshole.
Check its project on GitHub.
The project is named to honor Polo, the God of the Winds and Messenger of Tupã in Tupi-Guarani mythology.
© Ready for Production