Skip to content

Acts as an interface between an Application and a API. Fetches data from the api and supplies it to the application bypassing CORS.

Notifications You must be signed in to change notification settings

v-sauravmohan/Get-from-Google-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get from Google API

Acts as an interface between an Application and an API. Fetches data from the API provided by Google and supplies it to an application.

Usecase

In Case of the Angular CLI, it provides a development server that runs on localhost:4200 by default so if you are using an API that runs on a different domain, you may have CORS issues. In order to overcome this issue, We can fetch the data from the API through this Backend service, then use this data in the Front end Application.

Installation

Get from Google API requires Node.js

Install the dependencies and devDependencies and start the server.

$ npm install -d
$ node app

Execution

Run the app using the following command.

$ npm start

Plugins

Get from Google API is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.

Plugin README
Axios [https://www.npmjs.com/package/axios][PlDb]
CORS [https://www.npmjs.com/package/cors][PlGh]
Express [https://www.npmjs.com/package/express][PlGd]

About

Acts as an interface between an Application and a API. Fetches data from the api and supplies it to the application bypassing CORS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published