day-cohort-70 / rare-api-rare-bear-team-4

rare-api-rare-bear-team-4 created by GitHub Classroom
0 stars 0 forks source link

Added crud functionality to json-server and user view. #73

Closed Marceline-G-S closed 3 months ago

Marceline-G-S commented 3 months ago

Ticket:

72

What Changed:

Added crud functionality to json-server and user view.

Testing Steps:

Test in postman using GET, PUT, and DELETE. Create already exists.

Get all users works through http://localhost:8088/users

Get specific users works through http://localhost:8088/users/[userid here]

Delete specific users works through http://localhost:8088/users/[userid here]

Put (update) works through http://localhost:8088/users/[userid here] raw data in format : { "first_name": "Marceline", "last_name": "Smith", "email": "testing@testing.com", "bio": "Do not be alarmed. This is only a tests. 2", "username": "MSmith", "password": "password", "profile_image_url": null, "created_on": "2024-05-29 11:52:11.834250", "active": 1 }

nicholas-davison commented 3 months ago

looks great