An open API service indexing awesome lists of open source software.

https://github.com/pkief/express-basic-auth-example

Express basic authentication example
https://github.com/pkief/express-basic-auth-example

basic-authentication express express-middleware

Last synced: 8 days ago
JSON representation

Express basic authentication example

Awesome Lists containing this project

README

          

# Express basic authentication example

This example demonstrates how a simple authentication via middleware can be achieved in express.

## Getting started:

Install required node modules:

```
npm install
```

Run the server:

```
npm start
```

Open a browser at the following URL:

```
http://localhost:9001/
```