Skip to content

Assignment Solved#169

Open
iyprox wants to merge 1 commit intoAltSchool-Nodejs:mainfrom
iyprox:main
Open

Assignment Solved#169
iyprox wants to merge 1 commit intoAltSchool-Nodejs:mainfrom
iyprox:main

Conversation

@iyprox
Copy link
Copy Markdown

@iyprox iyprox commented Oct 16, 2022

  • added a user schema,
  • username,
  • password and
  • user_type.
    user_type should be “admin” or “user”
  • used basic authentication, protect the order routes
  • added query params to the /orders route, we want to:
    • sort the total_price from ascending to descending
    • sort the date created from asc to desc
    • query by a state
  • added pagination to the GET /orders route

so sorry, i could not submit before deadline due to technical issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant