Giter Club home page Giter Club logo

node-heroku-http-auth's Introduction

node-heroku-http-auth

A demo setup for Heroku app with HTTP Auth

Known Vulnerabilities

Deploy

Setup

Heroku

Click on "Deploy to Heroku" button above and follow the instructions:

  • Enter an application name
  • Choose a region
  • Update config vars or leave default values

Creating an app without a name

The app name argument is optional. If no app name is specified, a random name will be generated. Since Heroku app names are in a global namespace, you can expect that common names, like “blog” or “wiki”, will already be taken. It’s often easier to start with a default name and rename the app later.

Customize username/password after deployment

Go to Heroku application then click on Settings and then click on "Reveal Config Vars" button.

Local environment

  1. Install Javascript dependencies (via yarn or npm)

  2. Create .env file with USER_NAME and USER_PASSW, e.g.

USER_NAME=admin
USER_PASSW=admin
  1. Start the application

Resources

https://www.npmjs.com/package/http-auth

https://www.npmjs.com/package/dotenv

https://github.com/heroku/node-js-getting-started

https://devcenter.heroku.com/articles/getting-started-with-nodejs

node-heroku-http-auth's People

Contributors

jsdelivrbot avatar renovate-bot avatar renovate[bot] avatar velizarn avatar

Watchers

 avatar  avatar  avatar

node-heroku-http-auth's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm request Unavailable

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • dotenv ^8.0.0
  • express ^4.15.2
  • http-auth ^3.2.3
  • request 2.88.0
  • tape 4.12.1
  • node 9.11.2

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.