Due to team limitations & single member contribution, integeration of all these modules/features are standlone and main module is having bug(tried fixing for 8 hrs but couldn't do it). Future little support can this real. I request you to please watch this video ➡️ concept-concern-video
- Clone the repository
git clone https://github.com/madhavanand-github/address-formatter.git
- Run
npm i
ornpm install
to install all dependencies.(Ensure NodeJS & NPM are pre-installed) - Start the server
node app.js
ornodemon app.js
; - Send a
POST
request viaPostman
orThunder Client - VSCode Extension
on URLlocalhost:3000/format-address
{
"building" : ,
"street" : ,
"locality" : ,
"landmark" : ,
"vtc" : ,
"subdistrict" : ,
"district" : ,
"pincode" : ,
"state" :
}
🛑 In the request body, any number of fields in any order among only above mention fields are accepted in lowercase(
state
instead ofState
) in JSON.
{
"building" : ,
"street" : ,
"locality" : ,
"landmark" : ,
"vtc" : ,
"subdistrict" : ,
"district" : ,
"pincode" : ,
"state" : ,
"single-string-address" :
}
🛑 Response will include all the fields sent in request body along with an additional
single-string-address
field & repetitive fields will be assignednull
in JSON.
nodemon
- For ease in developement.express
- Backend Framework to build API.google-search-results-nodejs
- To fix local language address & spelling mistake. (by serpapi.com )serp
- Optional as an alternate to 3rd, if we want to deploy our own.
- Non Availabilty of Some of the Address Components (Like Locality, Sub-District)
- Repetitive Components. ✅ + Extreme Repetitive Components.
- Availability of Special Characters. ✅
- Handling of Minor Spelling Mistakes in English. ✅ 🪲
- Handling of Local Language Address. ✅ 🪲
- Robust Against empty request. ✅
- Check if field's name are correct. ✅
- Log/Audit of API working in console. ✅
- Format-Address-Heroku
- 🛑 This won't return the reponse as expected due to module failure, I request you to please watch this video ➡️ concept-concern-video