Skip to content

Mcdavid95/way-farer-api

Repository files navigation

way-farer-api

WayFarer is a public bus transportation booking server. Build Status Coverage Status Maintainability

Description

Way-Farer is a public transport booking server that bridges the gap between commuters and transporter and ticketing.

This helps save time at ticketing stands and stress of long queues.

Prerequisites

Technologies

Features

  • User authentication signup and signin
  • Create Bus
  • Create Trip
  • View Trips
  • Cancel Trip
  • Create Booking
  • Get Bookings
  • Delete Bookings
  • Save seat number
  • View booking

Install Project

  • clone project on local machine
  • navigate into local repository by running cd way-farer-api
  • create db using createdb way-farer
  • create a .env file in root directory and fill it up using example in .env.example
  • run npm install
  • run npm start

Test

API test is written with mocha and supertest. Frontend tests is written with jest and enzyme.

  • clone project on local machine
  • navigate into local repository by running cd way-farer-api
  • create db using createdb way-farer
  • create a .env file in root directory and fill it up using example in .env.example
  • run npm install
  • run npm run test

How to contribute

  • The project is open for contribution. You can start by forking this project repo. If you have improvements you want to add, feel free to do so and create a PR against develop branch

Documentation

The API documentation for this project can be found here

License

MIT

About

WayFarer is a public bus transportation booking server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published