GithubHelp home page GithubHelp logo

superfaceai / example-glitch-reverse-geocode Goto Github PK

View Code? Open in Web Editor NEW
0.0 10.0 0.0 231 KB

Glitch example showcasing ReverseGeocode use case

Home Page: https://superface-reverse-geocode.glitch.me

JavaScript 53.74% Shell 1.04% CSS 24.78% Handlebars 20.44%
geocoding superface glitch

example-glitch-reverse-geocode's Introduction

Reverse Geocode Example

This project showcases the use of https://superface.ai to seamlessly integrate APIs without worrying about how they are implemented or even knowing what API and therefore provider do you use.

Application

The demo application allows you to fetch address based on entered coordinates.

To see how to fetch the coordinates using Superface's OneSDK check out the getAddress() function in the superface.js file.

What's in this project?

superface.js: This file contains all superface code except superface client code, which is centralized in client.js. It contains function getAddress() where profile and provider are set and result from perform is handled

public/, src/: Folders from the remixed Glitch Node.js starter project, it is safe to ignore those for the puprose of learning about Superface

server.js: The main server script of the application, it does not contain Superface-specific code, only a boiler plate to make the application work

superface/: Superface folder that contains the configuration of the OneSDK for the capabilities and providers used in the application

superface/super.json: The actual configuration of the capabilties and providers

.env: Secrets such as API keys for the used providers

More Examples

Geocode Example - use Superface to get coordinates from address

Email Example - send a resilient email with Superface

Get in touch

We would ❤️ to hear your feedback! Please get in touch either with Vrata ([email protected]) or Z ([email protected]).

If you haven't already, sign up at https://superface.ai.

You can also follow us at Twitter @superfaceai.

example-glitch-reverse-geocode's People

Contributors

jnv avatar martinalbert avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.