https://github.com/boobeh123/backend-phonebook
A back-end Node application. REQUIRES POSTMAN! Live on Render
https://github.com/boobeh123/backend-phonebook
express-js javascript node-js rest-api
Last synced: 4 months ago
JSON representation
A back-end Node application. REQUIRES POSTMAN! Live on Render
- Host: GitHub
- URL: https://github.com/boobeh123/backend-phonebook
- Owner: boobeh123
- Created: 2022-09-17T04:22:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T22:19:51.000Z (over 2 years ago)
- Last Synced: 2025-01-06T06:44:11.598Z (5 months ago)
- Topics: express-js, javascript, node-js, rest-api
- Language: JavaScript
- Homepage: https://backend-phonebook-2fqs.onrender.com/
- Size: 7.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readME.md
Awesome Lists containing this project
README
## Description
A back-end Node application that uses the Express framework to return a hardcoded list of phonebook entries. Its API accepts GET, DELETE, & POST requests.Edit: (New deployment)
The project is deployed here: https://backend-phonebook-2fqs.onrender.com/
(Previous deployment, heroku no longer free)
~~The project is deployed here: https://mysterious-island-88506.herokuapp.com/~~
## Demo
## Features
* POST requests are not allowed to succeed, if:
* Name property is missing.
* Number property is missing.
* Name property already exists (applies only to what is already stored in API)
* Uses `morgan` module to log all requests sent to the server.## Optimizations
* I would like to add error handling when a POST request submits a duplicate number property.## Technologies
![]()
## Do you want to build this project?
https://fullstackopen.com/en/part3/node_js_and_express#exercises-3-1-3-6
&
https://fullstackopen.com/en/part3/node_js_and_express#exercises-3-7-3-8