Skip to content

deploily/api-wilaya-commune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-wilaya-commune

API to get Algerian Wilayas and Communes from Coordinates

This an api to fetch the 58 Wilaya of algeria based on the parameters lat and long

Built With

This api is built with :

Installing and Running the project

  1. Clone the repo
git clone git@github.com:deploily/api-wilaya-commune.git
  1. Go to apiWilaya
cd src
  1. Install NPM packages
npm install 
  1. Run the project
node server

Check using cURL

Note : the lat and long here are an example

curl -X GET "http://localhost:3000/api/v1/getWilaya?lat=35&long=0"
curl -X GET "http://localhost:3000/api/v1/getCommune?lat=35&long=0"

About

API to get Algerian Wilayas and Communes from Coordinates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors