-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change API documentation from API Blueprint to Swagger OpenAPI
- Loading branch information
1 parent
36f93b1
commit 85ef5d1
Showing
4 changed files
with
85 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,64 @@ | ||
{ | ||
"name": "quick-cash", | ||
"version": "1.0.0", | ||
"description": "Quick Credit is an online lending platform that provides short term soft loans to individuals. This helps solve problems of financial inclusion as a way to alleviate poverty and empower low income earners.", | ||
"main": "app.js", | ||
"author": "Shonubi Oluwakorede", | ||
"license": "MIT", | ||
"scripts": { | ||
"lint": "eslint ./server", | ||
"migration": "DEBUG=app/debug node ./dist/model/db/migrations.db", | ||
"seeder": "node ./dist/model/db/seeders.db", | ||
"exec-db-dev": "npm run build && npm run migration && npm run seeder", | ||
"exec-db-production": "npm run build", | ||
"start-dev": "NODE_ENV=development npm run exec-db-dev && NODE_ENV=development DEBUG=app/debug nodemon --exec babel-node ./server/app.js", | ||
"build": "babel ./server --out-dir ./dist --copy-files --ignore ./node_modules,./coverage,./.babelrc,.nyc_output,./package.json,./npm-debug.log,./.travis.yml,./.eslintrc.js,./UI,./README.md", | ||
"pre-test": "NODE_ENV=test npm run exec-db-dev", | ||
"start": "NODE_ENV=production node ./dist/app.js", | ||
"test": "npm run pre-test && NODE_ENV=test nyc --reporter=html --reporter=text mocha --timeout 20000 -r @babel/register ./server/tests/ --exit", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test", | ||
"heroku-postbuild": "NODE_ENV=production npm run exec-db-production" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/shonubijerry/quick-credit.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/shonubijerry/quick-credit/issues" | ||
}, | ||
"homepage": "https://github.com/shonubijerry/quick-credit#readme", | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.4", | ||
"@babel/node": "^7.2.2", | ||
"@babel/plugin-transform-runtime": "^7.4.4", | ||
"@babel/preset-env": "^7.4.4", | ||
"@babel/register": "^7.4.4", | ||
"chai": "^4.2.0", | ||
"chai-http": "^4.3.0", | ||
"coveralls": "^3.0.3", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb": "^17.1.0", | ||
"eslint-plugin-import": "^2.17.2", | ||
"mocha": "^6.1.4", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nodemon": "^1.19.0", | ||
"nyc": "^14.1.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.4.4", | ||
"async": "^2.6.2", | ||
"bcrypt": "^3.0.6", | ||
"body-parser": "^1.19.0", | ||
"cors": "^2.8.5", | ||
"debug": "^4.1.1", | ||
"dotenv": "^8.0.0", | ||
"express": "^4.16.4", | ||
"jsonwebtoken": "^8.5.1", | ||
"pg": "^7.11.0", | ||
"uuid": "^3.3.2" | ||
} | ||
} | ||
"name": "quick-cash", | ||
"version": "1.0.0", | ||
"description": "Quick Credit is an online lending platform that provides short term soft loans to individuals. This helps solve problems of financial inclusion as a way to alleviate poverty and empower low income earners.", | ||
"main": "app.js", | ||
"author": "Shonubi Oluwakorede", | ||
"license": "MIT", | ||
"scripts": { | ||
"lint": "eslint ./server", | ||
"migration": "DEBUG=app/debug node ./dist/model/db/migrations.db", | ||
"seeder": "node ./dist/model/db/seeders.db", | ||
"exec-db-dev": "npm run build && npm run migration && npm run seeder", | ||
"exec-db-production": "npm run build", | ||
"start-dev": "NODE_ENV=development npm run exec-db-dev && NODE_ENV=development DEBUG=app/debug nodemon --exec babel-node ./server/app.js", | ||
"build": "babel ./server --out-dir ./dist --copy-files --ignore ./node_modules,./coverage,./.babelrc,.nyc_output,./package.json,./npm-debug.log,./.travis.yml,./.eslintrc.js,./UI,./README.md", | ||
"pre-test": "NODE_ENV=test npm run exec-db-dev", | ||
"start": "NODE_ENV=production node ./dist/app.js", | ||
"test": "npm run pre-test && NODE_ENV=test nyc --reporter=html --reporter=text mocha --timeout 20000 -r @babel/register ./server/tests/ --exit", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test", | ||
"heroku-postbuild": "NODE_ENV=production npm run exec-db-production" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/shonubijerry/quick-credit.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/shonubijerry/quick-credit/issues" | ||
}, | ||
"homepage": "https://github.com/shonubijerry/quick-credit#readme", | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.4", | ||
"@babel/node": "^7.2.2", | ||
"@babel/plugin-transform-runtime": "^7.4.4", | ||
"@babel/preset-env": "^7.4.4", | ||
"@babel/register": "^7.4.4", | ||
"chai": "^4.2.0", | ||
"chai-http": "^4.3.0", | ||
"coveralls": "^3.0.3", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb": "^17.1.0", | ||
"eslint-plugin-import": "^2.17.2", | ||
"mocha": "^6.1.4", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nodemon": "^1.19.0", | ||
"nyc": "^14.1.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.4.4", | ||
"async": "^2.6.2", | ||
"bcrypt": "^3.0.6", | ||
"body-parser": "^1.19.0", | ||
"cors": "^2.8.5", | ||
"debug": "^4.1.1", | ||
"dotenv": "^8.0.0", | ||
"express": "^4.16.4", | ||
"jsonwebtoken": "^8.5.1", | ||
"pg": "^7.11.0", | ||
"swagger-ui-express": "^4.0.5", | ||
"uuid": "^3.3.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters