microsoft/ganeshfbat-pbapp201
JavaScript
Captured source
source ↗published Jul 7, 2026seen 2wcaptured 2whttp 200method plain
microsoft/ganeshfbat-pbapp201
Description: Repo for testing Project Agent connect and ops from MS teams channel
Language: JavaScript
Stars: 0
Forks: 0
Open issues: 3
Created: 2026-07-07T04:25:52Z
Pushed: 2026-07-07T04:58:23Z
Default branch: main
Fork: no
Archived: no
README:
Phone Book API
Simple Node.js REST API for managing phone book contacts with basic CRUD and search support.
Requirements
- Node.js 18+
Run the app
npm install npm start
The server starts on http://localhost:3000 by default. Set PORT to change it.
Run tests
npm test
API
List contacts
GET /contacts GET /contacts?q=alice
Get one contact
GET /contacts/:id
Create a contact
POST /contacts
Content-Type: application/json
{
"name": "Alice Johnson",
"phone": "555-0100",
"email": "alice@example.com"
}Update a contact
PUT /contacts/:id
Content-Type: application/json
{
"phone": "555-0199"
}Delete a contact
DELETE /contacts/:id