weatherhive-utils

2.19.1 • Public • Published

weatherhive-utils

Utility functions that are shared across all weatherhive projects

Mongo Install https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/

Mongo User Creation For App

use weatherhive

db.createUser( { user: "weatherhiveapp", pwd: "weatherhive123**", roles: [ { role: "readWrite", db: "geocoding" } ] } )

--

Looking for Records in Mongo....

use weatherhive

switched to db weatherhvie

db.entries.find()

{ "_id" : ObjectId("5d569792f818e31abda9896c"), "city" : "san fransisco", "state" : "ca", "zipcode" : "94107", "lat" : 37.7618242, "lon" : -122.3985871 } { "_id" : ObjectId("5d569884f818e31abda989af"), "city" : "effort", "state" : "pa", "zipcode" : "18330", "lat" : 40.9628403, "lon" : -75.44612560000002 } { "_id" : ObjectId("5d569f80f818e31abda98b31"), "city" : "hackettstown", "state" : "nj", "zipcode" : "07840", "lat" : 40.8539879, "lon" : -74.8290555 } { "_id" : ObjectId("5d569ff6f818e31abda98b50"), "city" : "brodheadsville", "state" : "pa", "zipcode" : "18322", "lat" : 40.9229722, "lon" : -75.40533669999999 } { "_id" : ObjectId("5d56a08cf818e31abda98b75"), "city" : "wyckoff", "state" : "nj", "zipcode" : "07481", "lat" : 41.0026959, "lon" : -74.16509909999999 }

Readme

Keywords

none

Package Sidebar

Install

npm i weatherhive-utils

Weekly Downloads

0

Version

2.19.1

License

ISC

Unpacked Size

36.6 kB

Total Files

11

Last publish

Collaborators

  • weatherhive