express-restriction
v1.0.0
Published
Add API restriction to your Express app like Google.
Downloads
15
Maintainers
Readme
Express Restriction
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.
READ MORE: https://developers.google.com/maps/api-security-best-practices
Installation
npm install express-restriction --save
Documentation
Documentation is automatically created with JSDoc after each new release.
You can find the documentation here!
Development
# clone the repository
git clone https://github.com/ridvanaltun/express-restriction.git
# go to the project and install dependencies
cd express-restriction & npm i
Available Scripts
# 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