Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Key Proxy

Spring Boot application that acts as a proxy between the Google Maps API and any client application.

Even though this application only proxies requests to Google Maps API specifically, it can be used with virtually any API. You just need to adapt it ;-)

I created this project for my blog nice-code.dev

Check out this blog post for more information: Building an API Key Proxy - Part 1

Run it local

To run the application local open a terminal, cd into the root directory of the project and execute the following commands:

./mvnw spring-boot:run -e -Dspring.profiles.active=local

Run it in a production environment

At first, you have to adapt the properties proxy.appId and proxy.secrets.projectId in application.yaml according to your needs.

I set the default profile on AppEngine to prod.

If you want to change the active Spring Boot profile, you can do that so in app.yaml.

About

Spring Boot based application that acts as a proxy between a client and the Google Maps API.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors