Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Commit

Permalink
feat(booking): booking an accommodation
Browse files Browse the repository at this point in the history
added tests for the feature
added a controller
validated all inputs
documented the feature
internationalized all messages
added booking model and migration
[Mantains #170947575]
  • Loading branch information
Baraka-Mugisha committed Mar 2, 2020
1 parent 373fe81 commit 879cd5f
Show file tree
Hide file tree
Showing 32 changed files with 642 additions and 223 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
language: node_js
node_js:
- "stable"
- "12"
notifications:
email: false

cache:
directories:
- "node_modules"

before_install:
- npm install sequelize-cli -g

install:
- npm install

services:
- postgresql

Expand All @@ -17,7 +22,9 @@ env:
- NODE_ENV=test

before_script:
- npm add sequelize-cli
- psql -c 'create database barefoot_nomad_test;' -U postgres

script:
- npm test
after_success: npm run coverage
Loading

0 comments on commit 879cd5f

Please sign in to comment.