Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 1.45 KB

readme.MD

File metadata and controls

87 lines (65 loc) · 1.45 KB

Rest API with Node Express & Mongoose

NodeJS MongoDB Express.js GraphQL

Env Variables managed with dotenv

process.env.VARIABLE 

Endpoints

Get All Owners(GET)

https://pethouse1.herokuapp.com/api/v1/owner/

Get Owner by ID(GET)

https://pethouse1.herokuapp.com/api/v1/owner/61e5162e4a31aacf8aa88ab7

Post Owner(POST)

https://pethouse1.herokuapp.com/api/v1/owner

Body

{
    "name": "Amar",
    "gender": "Male",
    "petCount": 3,
    "address": "Kerala"
}

Update Owner(PUT)

https://pethouse1.herokuapp.com/api/v1/owner/id

Body

{
    "name": "Amar",
    "gender": "Male",
    "petCount": 3,
    "address": "Kerala"
}

Delete Owner(DELETE)

https://pethouse1.herokuapp.com/owner/api/v1/id

Same for /pets

https://pethouse1.herokuapp.com/api/v1/pet/

Graphql

https://pethouse1.herokuapp.com/api/v2/graphql/

Todos

  • Auth

  • GraphQL

  • Hubspot Learnings

  • store locater

  • animations GSAP Scroll Anims

workflows zoom tax related