Booking platform
Master branch hosted on heroku: here
Work in progress booking platform. Written in React with a Rails api, fully tested with unit tests for the front end in jest and for the backend with Rspec and end to end integration tests using a headless browser with capybara.
#Running
###rails
run server with: rails s run tests with: rspec
###react client
from client directory:
npm start
Starts the development server.
npm run build
Bundles the app into static files for production.
npm test
Starts the test runner.
npm run eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd client npm start
###Automated tasks
rake refresh
deletes all bookings and creates new slots
rake test
builds the js then runs all tests - node and ruby
rake push
runs rake test
then adds, commits and pushes to default git remote if the tests pass