https://github.com/stepankuzmin/geoip-lambda
GeoIP Lambda Example
https://github.com/stepankuzmin/geoip-lambda
apex-up aws-lambda aws-lambda-node geoip geolocation javascript
Last synced: 3 months ago
JSON representation
GeoIP Lambda Example
- Host: GitHub
- URL: https://github.com/stepankuzmin/geoip-lambda
- Owner: stepankuzmin
- Created: 2019-02-13T16:14:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T16:26:51.000Z (over 6 years ago)
- Last Synced: 2025-01-31T23:27:46.714Z (5 months ago)
- Topics: apex-up, aws-lambda, aws-lambda-node, geoip, geolocation, javascript
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GeoIP Lambda
## Installation
First, install and configure [up](https://up.docs.apex.sh/).
Then clone repo and setup `up.json`.
```shell
git clone https://github.com/stepankuzmin/geoip-lambda.git
cd geoip-lambda
cp example.up.json up.json
```Download [GeoLite2 City database](https://dev.maxmind.com/geoip/geoip2/geolite2/) and place it into `data` folder.
## Deploy
```shell
up
```## Usage
```shell
curl `up url` | jq
```