WayFarer is a public bus transportation booking server.
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 --prodto install dependencies - create a .env file from the .env.example file and fill in the necessary environment variables
- run
npm run buildto build the project and then runnpm startto 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
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 devThe 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 buildBabel then transpiles your ES6+ files to ES5 for environment compatibility
-
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
- Repository: https://github.com/misanj/wayFarer
- Pivotal tracker: https://www.pivotaltracker.com/n/projects/2360682
- Heroku: https://way-far-er.herokuapp.com/api/v1
Copyright (C) Misanj Temisan Otokuefor "The code in this project is licensed under ISC LICENSE"