We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users
server/queries/users.sql
GET
GET/pending-accounts
POST
PUT/:uid
DELETE/:uid
app.js
The text was updated successfully, but these errors were encountered:
cherhchen
h0ethan04
Successfully merging a pull request may close this issue.
Instructions
Users
, which will allow us to access the data from the frontendNotes
server/queries/users.sql
as a jumping-off point!Acceptance Criteria
Routes should be created for the following:
GET
- Returns all data from the Users tableGET/pending-accounts
- Returns all data from Users table who are currently pending approvalPOST
- Adds a new row into Users tablePUT/:uid
- Updates an existing user as approvedDELETE/:uid
- Deletes an existing user given their idLogistics:
app.js
should be updated accordinglyserver/queries/users.sql
once this task is completeAs always, feel free to message Michael and Michelle if you have any questions!
The text was updated successfully, but these errors were encountered: