typicode / json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Other
72.56k stars 7k forks source link

[Contribution] json-server-auth : Auth middleware for JSON Server #897

Open jeremyben opened 5 years ago

jeremyben commented 5 years ago

Just wanted to let you people know that I just finished an addon to JSON Server, that some of you might be interested in :

https://github.com/jeremyben/json-server-auth

It allows you to add an JWT authentication and authorization flow really quickly, in the spirit of JSON Server.

You can use it as a middleware for JSON Server or directly as a CLI (it wraps the JSON Server one for convenience).

Tested and documented. 🙂

abzeede commented 5 years ago

@jeremyben Thank you 🙌

ArtieFuzzz commented 4 years ago

doesn't seem to work for me

Alaa94Said commented 1 week ago

It's not working as Json-server is no longer supporting middlewares