shahadat3669 / rent-home-now-api

Rent Home Now API is RESTful API that facilitates the connection between property owners interested in renting out their properties and potential renters. The API allows for the creation of reservations on selected properties. It has been developed using the Ruby on Rails framework and uses a PostgreSQL database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[2pt] Create the reservation controller for API

shahadat3669 opened this issue · comments

  • Create reservation API endpoint for each following operation:
    • index: get request for all reservation
    • show: get request for the specific reservation
    • create: post request for creating a new reservation
    • update: put request for updating an existing reservation
    • destroy: delete request for the specific reservation