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

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

Awesome Lists containing this project

README

          

# Vevericka Auth Service
* * *
## Scripts
* `npm run start`
* `npm run dev`
* * *
## API
* POST /auth/register
* Request body:
* email
* username
* name
* password
* Response:
* Saved user
* POST /auth/login
* Request body:
* email
* password
* Response:
* JWT in response header `auth-token`.
* GET /posts
* Request headers:
* auth-token
* Response:
* Posts