Skip to content

DiveshR/Api-Application-For-A-Travel-Agency

Repository files navigation

Laravel APIs application for a travel agency.

Travel is the main unit of the project: it contains all the necessary information, like the number of days, the images, title, etc.

An example is Japan: road to Wonder or Norway: the land of the ICE; Tour is a specific dates-range of a travel with its own price and details.

Japan: road to Wonder may have a tour from 10 to 27 May at €1899, another one from 10 to 15 September at €669 etc. At the end, you will book a tour, not a travel.

Goals

  • At the end, the project should have:

  • A private (admin) endpoint to create new users.

  • A private (admin) endpoint to create new travels;

  • A private (admin) endpoint to create new tours for a travel;

  • A private (editor) endpoint to update a travel;

  • A public (no auth) endpoint to get a list of paginated travels.

  • A public (no auth) endpoint to get a list of paginated tours by the travel slug (e.g. all the tours of the travel foo-bar).

  • Users can filter (search) the results by priceFrom, priceTo, dateFrom (from that startingDate) and dateTo (until that startingDate).

  • User can sort the list by price asc and desc.

  • They will always be sorted, after every additional user-provided filter, by startingDate asc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published