Skip to content

This is a public bus transportation booking services platform

Notifications You must be signed in to change notification settings

WinnersProx/way-farer-app

Repository files navigation

WAYFARER APP

Build Status Coverage Status Maintainability

Platform Description

Wayfarer is a public bus transportation booking services platform where users can find diverse trips and book a spot in any available trip.

Features

  • Users view the dashboard section that expressively describes the platform.
  • Users can sign up.
  • Users can sign in.
  • Admins can create a trip.
  • Admins can cancel a trip.
  • Users can view all trips.
  • Users can view a specific trip.
  • Users can book a seat on a trip.
  • Admin can view all bookings.
  • A user can view all of his bookings.
  • A user can delete his booking.
  • Users can filter trips based on origin.
  • Users can filter trips based on destination.
  • Users can specify a seat number when making a booking.

API Endpoints Specifications

Endpoint Request Status Description
/ GET 200 OK Helps users to access to the root of the api
/auth/signup POST 201 Created Makes a post request to register a new user or create an account
/auth/signin POST 200 OK Sign in the user already having a user account
/trips POST 201 OK Create a trips on which users can book seats
/trips/:trip-id GET 200 OK For users to view all available trips
/trips/:trip-id GET 200 OK For users to view a specific trip
/trips/:trip-id/cancel PATCH 200 OK For the admin to cancel a trip
/trips/bookings POST 201 OK For the the users to book a seat
/trips/bookings GET 200 OK For both admin and users to view bookings
/bookings/:booking-id DELETE 200 OK For both admin and users to delete a specific booking
/filter/trips GET 200 OK For users to filter available trips based on origin or destination

Tools

Tools used for development of this API are;

Getting Started

  1. Clone the github repository here.
  2. Kindly read very well the provided documentation

Deployment

Api Documentation

Get started with WayFarer Api endpoints documentation here.

Key Contributor

  • Bihame Sikubwabo Vainqueur

Acknowledgements

About

This is a public bus transportation booking services platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published