Skip to content

Baraka-Mugisha/Way-Farer-Develop

Repository files navigation

Way-Farer-Develop

A public bus transportation booking service

Build Status

Way-Farer-Develop is a platform that helps users find, rent and buy proerties eality

I have already upload the UI template for this project on github and if you want to have a look follow this link

Here is a list of all API Endpoints that you will find:

  • GET/trips Fetch all available trips
  • GET/trips/:tripId fetches a specific trip basing on its id
  • delete/booking/:booking_id deletes a boooking
  • POST/trips Create a trip
  • GET/bookings Fetch all bookings
  • post/bookings creates a booking
  • patch/trips/:tripId/cancel cancels a trip
  • post/signup creates a user
  • post/signin logs in a user

Technology Tools used

  • Server-side Framework: Node/Express JS
  • Linting Library: ESlint
  • Style Guide: Airbnb
  • Testing Framework: Mocha with Chai

Additional Tools

  • JavaScript Es6 with Babel transpiler
  • TravisCI for Continous Integration
  • nyc for test coverage
  • Heroku for Deployment

The url of the app on heroku is this one https://baraka-way-farer-adc.herokuapp.com/.

This is the list of all routes as on the heroku deployment:

For a better test you will need to use POSTMAN

Setup Instruction

For getting the files into your local machine open git bash and do git clone with repository url

$ git clone https://github.com/mugishaje/Way-Farer-Develop.git

Navigate to the folder containing all code files by typing cd folder_name

$ cd Way-Farer-Develop

Install dependincies as they appear in package.json file by

$ npm install

To start the server do

$ npm run dev-start

To run the test do

$ npm run test

About

A public bus transportation booking service. you can view the gh pages on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published