use GET, POST, PUT and DELETE to attain what you want from the database located at https://potluck-planner-8.herokuapp.com/api/
-
https://potluck-planner-8.herokuapp.com/api/auth/register
register withPOST
. this requires a password and username -
https://potluck-planner-8.herokuapp.com/api/auth/login
login withPOST
. this requires a password and username -
https://potluck-planner-8.herokuapp.com/api/users
useGET
for a return of all users -
https://potluck-planner-8.herokuapp.com/api/potlucks
- use
GET
for a return of all potlucks - use
POST
to add a new potluck. Must have proper login token. include: date, time, location, items:[]
https://potluck-planner-8.herokuapp.com/api/potlucks/:potluck_id
- use
GET
for a return of a valid potluck and items within. - use
PUT
to edit the basic info. editing items, coming soon.
- use