Skip to content

Instantly share code, notes, and snippets.

View jasanmiguel10's full-sized avatar
🎯
Focusing

Juan Antonio Sanmiguel jasanmiguel10

🎯
Focusing
View GitHub Profile
@jasanmiguel10
jasanmiguel10 / Keybase.md
Created September 13, 2021 19:44
Keybase proof

Keybase proof

I hereby claim:

  • I am jasanmiguel10 on github.
  • I am asnauj1 (https://keybase.io/asnauj1) on keybase.
  • I have a public key ASDQRM73DUfCRyUGZTyqaw9D1qxbfPZkzeqNUVMUvbFg4Ao

To claim this, I am signing this object:

const routes = [
{
method: 'GET',
path: '/locations',
handler: async (request, h) => {
const db = server.app.db;
const locationCollection = db.collection('locations');
// query all locations