Socket
Socket
Sign inDemoInstall

authkey

Package Overview
Dependencies
654
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    authkey

simple app key issue and verification


Version published
Maintainers
1
Created

Changelog

Source

1.0.0 (2018-02-25)

Bug Fixes

  • prevent hitting mailgun API in testing env (8901fe1)

Readme

Source

authkey

self-hosted, bare-bones licensing API

Basically a very limited version of what keygen.sh does.

JavaScript Style Guide Build Status

Installing / Getting started

Setting up dev

git clone https://github.com/adekbadek/authkey.git
cd authkey/
npm i
npm run dev

Set up env variables by creating .env file (see .env-example). You'll need a mailgun account for some of them.

Will install the dependencies and run development server.

Running in production environment

npm start

Versioning

SemVer is used (with help of semantic-release). For the versions available, see the link to tags on this repository.

Tests

with Jest

npm t

Style guide

using Standard

Api Reference

verbendpointwhat it does
POST/request/:addresscreates a new auth key for the given address and sends an email with the auth key
POST/verify/:authkeyverifies the given auth key

Database

a JSON file handled with lowdb

Keywords

FAQs

Last updated on 25 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc