Secure your APIs like Google
Table of Contents
How It Works?
Google offers a security layer for their APIs, for an example, you can restrict all HTTP requests over your API except a selected Android App. This project aims to make the same thing in Express.JS.
npm install express-restriction --save
Documentation is automatically created with JSDoc after each new release.
# clone the repository git clone https://github.com/ridvanaltun/express-restriction.git # go to the project and install dependencies cd express-restriction & npm i
# commit your changes with commitizen npm run commit # check eslint issues npm run lint # fix eslint issues npm run lint:fix # run eslint-nibble npm run lint:active # run all tests npm run test # travis uses this script, it handles creating new releases npm run semantic-release # travis uses this script, it creates documentation with jsdoc npm run docs