GithubHelp home page GithubHelp logo

mssantos / polo Goto Github PK

View Code? Open in Web Editor NEW
90.0 3.0 1.0 384 KB

REST client for browsers.

License: Apache License 2.0

Elixir 68.33% Dockerfile 2.06% CSS 5.70% JavaScript 5.07% HTML 18.76% Shell 0.06% Batchfile 0.03%
browser-app elixir liveview phoenix rest-client docker

polo's Introduction

Polo

Minimalist REST client for JSON APIs. Run it from your browser!

polo-final.mov

How to Use

Please install Docker, then follow these steps:

> git clone [email protected]:readyforproduction/polo.git
> cd polo
> docker compose up --build

Now Polo is ready on http://localhost:4000.

Exploring the Code

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.

Using collections

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:

  1. Create a new folder in /priv/collections. The name of the folder should match the name of your collection;
  2. Add a new markdown file to the collection folder. The name of the file will be how the request appears in the collections sidebar;
  3. 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.

Contributing

  • Use issues for bugs and discussions;
  • Submit pull requests for code suggestions;
  • Don't be an asshole.

TODO

Check its project on GitHub.

Who is Polo?

The project is named to honor Polo, the God of the Winds and Messenger of Tupã in Tupi-Guarani mythology.


© Ready for Production

polo's People

Contributors

mssantos avatar

Stargazers

Kevin Schweikert avatar César Guzmán avatar Deniel Chiang avatar Pascal Schmid avatar Rafael Machado Guimarães avatar Ramon Gonçalves avatar TierraLibre avatar Wilhelm Kirschbaum avatar Benjamin Yu avatar Frank Müller avatar Leonardo Bessa avatar Carl Gleisner avatar Austin Ziegler avatar John  avatar Yanko Simeonoff avatar Aleksandre Zutikov avatar  avatar Mike Wilson avatar Marko Honkanen avatar Jits avatar  avatar Andrejs M avatar  avatar Hudson Couto avatar Mario Vellandi avatar  avatar Joao P Dubas avatar Jacob Chae avatar  avatar Andrey Marchenko avatar Joe Martinez avatar Gabriel Garrido avatar Renan avatar Danil Negrienko avatar Mike avatar Dung Nguyen avatar Andrew Chou avatar Emiliano Jankowski avatar Paul Sabou avatar Drew Fravert avatar  avatar Bruno Anken avatar Roberto Amorim avatar Helio Oliveira avatar Nduati Kuria avatar Adam Wiggall avatar Kirk Agbenyegah avatar Steve avatar Hassan Shaikley avatar Jean-Louis Huynen avatar SukinoVERSΞ avatar Ricardo García Vega avatar Norberto Oliveira Junior avatar Daniel Wyatt avatar Artem Alimov avatar Juergen Braungardt avatar Kleber Shimabuku avatar Rayan Castro avatar Tessa van der Heijden avatar Adrien Driffaud avatar Stefano Gessa avatar Guilherme Dutra avatar Aayush Sahu avatar Dr. Christian Geuer-Pollmann avatar Pieter Claerhout avatar Jaeyson Anthony Y. ⚗️ avatar Nicholas Moen avatar M.Yasoob Ullah Khalid ☺ avatar Jeremy Brayton avatar  avatar Josh Kalderimis avatar tt67wq avatar Mohammed Zeglam avatar Camilo avatar Andrés Alejos avatar Elizeu Costa avatar Mayel de Borniol avatar Shahryar Tavakkoli avatar Iago Angelim Costa Cavalcante avatar Bernardo Amorim avatar Joel Jucá avatar Lubien avatar Adriano Santos avatar Felipe Menegazzi avatar Álisson Morais avatar Cawe Alves avatar  avatar  avatar Roger Leite avatar Adolfo Neto avatar

Watchers

Ramon Gonçalves avatar Deniel Chiang avatar  avatar

Forkers

nduatik

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.