Skip to content

A tour application which enable users view tours available, check out reviews on the tour and also make reservations and payment

Notifications You must be signed in to change notification settings

bendiumpope/sabi-tour

Repository files navigation

API COLLECTION

The Sabi-Tour application allows registered and authenticated users view available tours posted by the admin or tour guide. The users can also make reviews on tours they have actually taking and also rate this tours.

##Front End URL Still working on the front end

This collection contains sample requests from this API

It contains the following requests

• Signup a user (POST) /users/signup

• Login a user with given credentials (POST) /users/login

• Get all users (GET) /users

• Get a user (GET) /users/:id

• Update a user (PATCH) /users/:id

• Forget Password (POST) /users/forgetPassword

• Reset Password (PATCH) /users/resetPassword

• Update My Password (PATCH) /users/updateMyPassword

• Get Me (GET) /users/me

• Update Me (PATCH) /users/updateMe

• Delete a user (DELETE) /users/:id

• Create a Tour (POST) /tours

• Get all Tours (GET) /tours

• Get a Tour By ID (GET) /tours/:id

• Get a Review By Tour ID (GET) /tours/:id/reviews

• Get Top 5 Cheapest Tours (GET) /tours/top-5-cheap

• Get Tour Statistics (GET) /tours/tour-stats

• Get Monthly Plans in a given year (GET) /tours/monthly-plan/:year

• Update a Tour (PATCH) /tours/:id

• Delete a Tour (DELETE) /tours/:id

• Create a Review (POST) /reviews

• Get all Reviews (GET) /reviews

• Get a Review By ID (GET) /reviews/:id

• Update a Review (PATCH) /reviews/:id

• Delete a Review (DELETE) /reviews/:id

Link to the API documentation with sample requests

About

A tour application which enable users view tours available, check out reviews on the tour and also make reservations and payment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published