https://github.com/mertturkmenoglu/vevericka-auth-service
Vevericka Auth Service with Node.js
https://github.com/mertturkmenoglu/vevericka-auth-service
Last synced: 6 months ago
JSON representation
Vevericka Auth Service with Node.js
- Host: GitHub
- URL: https://github.com/mertturkmenoglu/vevericka-auth-service
- Owner: mertturkmenoglu
- Created: 2020-10-04T13:41:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T16:43:15.000Z (over 4 years ago)
- Last Synced: 2025-02-09T20:24:25.125Z (8 months ago)
- Language: JavaScript
- Size: 387 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vevericka Auth Service
* * *
## Scripts
* `npm run start`
* `npm run dev`
* * *
## API
* POST /auth/register
* Request body:
* username
* name
* password
* Response:
* Saved user
* POST /auth/login
* Request body:
* password
* Response:
* JWT in response header `auth-token`.
* GET /posts
* Request headers:
* auth-token
* Response:
* Posts