Closed abeltsew closed 1 year ago
Hi @ikoote1 :wave: :wave:
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit: Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
Hi @ikoote1
I have created the API for the room model.
The Api for listing all rooms can be accessed with
get
/api/v1/rooms
The Api for getting a single room can be accessed with
get
/api/v1/rooms/:id
The Api for creating a room can be accessed with
post
/api/v1/rooms/:id
{ room: { name: 'from Api', description: 'Description from Api', price: 783, user_id: @user.id } }
In this PR I have carried out the following tasks