https://github.com/cuongndc9/node-auth-jwt
⚔️ Authentication with JSON Web Token (JWT).
https://github.com/cuongndc9/node-auth-jwt
103cuong expressjs json-web-token jwt jwt-authentication nodejs
Last synced: 6 months ago
JSON representation
⚔️ Authentication with JSON Web Token (JWT).
- Host: GitHub
- URL: https://github.com/cuongndc9/node-auth-jwt
- Owner: cuongndc9
- License: mit
- Created: 2019-02-24T08:53:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T16:22:59.000Z (over 7 years ago)
- Last Synced: 2025-01-21T21:32:34.430Z (over 1 year ago)
- Topics: 103cuong, expressjs, json-web-token, jwt, jwt-authentication, nodejs
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-auth-jwt
> ⚔️ Authentication with JSON Web Token (JWT).
## Install
Install dependencies
```
$ npm i
```
Create `.env` file
```
MONGODB_URI=
```
## Usage
One line to run
```
$ npm start
```
## API
| Route | HTTP method | Description |
|------------------|-------------|-----------------------------|
| /api/users | `GET` | Get all users. |
| /api/authenticate| `POST` | Authenticate account. |
## License
