We are using sequelize ORM for connecting to the database, so you can use any database supported by sequelize
You can pass the database configuration in src/sql-config.json
file under the production
key
Set the google api key in src/key.json
file under the key
property.
This script requires Node.js v10+ to run.
Make sure node
& npm
are in the path
Install the dependencies and devDependencies.
$ npm i
location & radius can be provided to the main
function near the end of src/app.ts
script.
code can be run using the command:
main("-33.8670522,151.1957362", 1500)
npx ts-node src/app.ts