UNLV-CS472-672 / 2024-S-GROUP5-Munch

The Munch app is a social platform where users create profiles by selecting preferred foods.
1 stars 11 forks source link

Backend New User Routes Link to Database #24

Closed KeenParchment closed 5 months ago

KeenParchment commented 5 months ago

Description / Changes Made

Screenshots

image image

How to Test

  1. Run the backend server
  2. Using Postman, add the address http://localhost:5000 and set the Method to POST
  3. Give the address a proper route /api/users. It can be seen in the screenshot above the route is: http://localhost:5000/api/users
  4. Navigate to Body -> raw (ensure you are using JSON)
  5. Include the body with its fields, to insert into the Firebase database
  6. Click send and Postman will return the query in JSON format
  7. Check the Firebase for the new user has been added (new unique ID should be created)

Checklist