Skip to content

singhkunal2050/node-express-mongo-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

REST + Graphql API Endpoints based on Mongodb , Express and Graphql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published