Giter Site home page Giter Site logo

asrofilfachrulr / get-nearby-places Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 359 KB

Jabar Coding Camp Partnership - Project Challenge Batch 2. Web service (API) provides nearby places on given coordinates.

License: Apache License 2.0

Go 99.89% Procfile 0.11%
go api jcc location-services

get-nearby-places's Introduction

Jabar Coding Camp Partnership - Project Challenge Batch 2

Logo JCC

Go Swagger

Informasi Peserta

Nama: Asrofil Fachrul Riidlo
Kelas: Backend Golang

Link

Link API di Heroku (swagger) (sudah tidak aktif seiring free tier heroku sudah berhenti)

Link YouTube Demo Penggunaan API

Deskripsi API

Web service (API) untuk melakukan pencarian daftar tempat/place terdekat. Tempat/place digenerate secara random, memiliki atribut dan constraint yang melekat pada region (kota/kabupaten/desa/keluarahan/kecamatan) yang ditempatinya. API akan mengembalikan semua tempat terdekat dalam radius 5 km dari sebuah titik koordinat latitude dan longitude yang diberikan.

Penggunaan

Install seluruh package yang diperlukan

go install

Jalankan program

go run main.go

Kunjungi halaman swagger di

http://localhost:8080/

NOTE

Kode telah menggunakan fitur generic yang mulai ada pada golang versi 1.18. Selengkapnya tentang generic:

Release Note Go 1.18

Pastikan versi golang anda >= 1.18

Disclamier

Tidak diizinkan menyalin/mengutip kode penuh/sebagian untuk apapun tugas JCC next batch atau batch saat ini (2) di kelas apapun.
Boleh digunakan hanya untuk referensi ide.

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.