Skip to content

yatharth1706/PhoneBook

Repository files navigation

PhoneBook

PhoneBook

API Methods

  1. GET /api/contacts: : Get all the contacts stored in database

  2. POST /api/contacts: : Create a new contact in database

    Required: Json should be sent along with this post request which will contain details of contact

    Example:

  {
    "name" : "yash",
    "dob" : "1/2/1999",
    "phoneNumbers" : ["9283898999"],
    "emails" : ["yash1234@gmail.com"]
   }
  1. PATCH /api/contacts/:contactId : Edit or Update specific contact usign contactId

    Required: Json

    Example:

    {
      "name" : "yash",
      "dob" : "1/2/1999",
      "phoneNumbers" : ["9283898999"],
      "emails" : ["yash1234@gmail.com"]
   }
  1. DELETE /api/contacts/:contactId : Delete specific contact using ContactId

  2. GET /api/find/contacts/:contactName : Find specific contact in database using name of person

  3. GET /api/contacts/:contactId : Find specific contact using contactId

Tech Stack

Backend

  • Nodejs
  • Express
  • MongoDb

FrontEnd

  • Angular
  • Bootstrap
  • HTML/SASS
  • Typescript

About

📞 Building phoneBook web app using nodejs, mongodb and express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published