https://github.com/kento75/express-jwt-auth-sqlite
express + sqlite + JWT Auth を使用した APIサーバー
https://github.com/kento75/express-jwt-auth-sqlite
api-server auth express jwt sqlite
Last synced: 6 months ago
JSON representation
express + sqlite + JWT Auth を使用した APIサーバー
- Host: GitHub
- URL: https://github.com/kento75/express-jwt-auth-sqlite
- Owner: Kento75
- License: mit
- Created: 2018-10-04T12:46:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T06:15:13.000Z (about 7 years ago)
- Last Synced: 2025-02-11T14:40:45.908Z (11 months ago)
- Topics: api-server, auth, express, jwt, sqlite
- Language: JavaScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-jwt-auth-sqlite
ー JWT Auth を使用した API ー
### backend API Routes
|URL|Type|Request|Response
|:---|:---|:-----|:-----|
|**`/user/authenticate`**|POST|username, password|username, password, token
|**`/user/all`**|GET|-|id, username, password, firstName, lastName, age, imageURL, comment
|**`/user/count`**|GET|-|count(*)
|**`/user/find/:userId`**|GET|id|id, username, password, firstName, lastName, age, imageURL, comment