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
- Host: GitHub
- URL: https://github.com/pkief/express-basic-auth-example
- Owner: PKief
- Created: 2019-01-25T07:48:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T22:20:28.000Z (about 7 years ago)
- Last Synced: 2026-01-20T08:26:57.743Z (3 months ago)
- Topics: basic-authentication, express, express-middleware
- Language: TypeScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/
```