Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wayFarer

Build Status Coverage Status Maintainability Test Coverage

WayFarer is a public bus transportation booking server.

Installing / Getting started

Running this application, you'll need to have Node.js and git version control installed to clone the repo. Then follow the instructions....

  • clone the repo using
https://github.com/misanj/bankaApp.git
  • run npm install --prod to install dependencies
  • create a .env file from the .env.example file and fill in the necessary environment variables
  • run npm run build to build the project and then run npm start to start the server
  • now access the server on the localhost port 5200 i.e localhost:4000 or 127.0.0.1:4000

Now the server will go live and listen for requests

Developing

To futher develop this app, a few handy tools nodemon, debug and some other dev dependencies have been put inplace to enable a smooth run, You can access them by starting the server using npm run dev. But before using the command, make sure to follow the steps below:

git clone https://github.com/misanj/wayFarer.git
cd wayFarer/
npm install
npm run dev

Building

The app is written in ES6+ and wired to run ES5 transpiled code in production. To transpile any changes to ES5 run the script shown below:

npm run build

Babel then transpiles your ES6+ files to ES5 for environment compatibility

Features

  • User (client) can sign up

  • Admin/staff can view all user accounts

  • User can sign up

  • User can sign in

  • Admin can create a trip

  • Admin can cancel a trip

  • Both Admin and Users can see all trips

  • Users can book a seat on a trip

  • View all bookings. An Admin can see all bookings

  • while user can see all of his/her  bookings

  • Users can delete their booking

  • Users can get a list of filtered trips based on origin

  • Users can get a list of filtered trips based on destination

  • Users can specify their seat numbers when making a booking 

Links

Licensing

Copyright (C) Misanj Temisan Otokuefor "The code in this project is licensed under ISC LICENSE"

About

Heroku: https://way-far-er.herokuapp.com/api/v1

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages