Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 651 Bytes

projectRequirements.MD

File metadata and controls

10 lines (8 loc) · 651 Bytes

We need to develop a Node.js service that enables users, based on their permission level (admin or standard), to perform CRUD operations for parking spot bookings.

  • Admin users can create bookings and can get/edit/delete any existing booking.
  • Standard users can create new bookings and can get/edit/delete only the bookings they have created themselves.

Create REST API endpoints to manage all the operations mentioned above. There is no need to create a user registration process; users can be manually added to the database. Additionally, for simplicity, user authentication will be done solely through an API token (no login, sessions, etc.).