All Projects → techiediaries → Fake Api Jwt Json Server

techiediaries / Fake Api Jwt Json Server

A Fake API with JWT Authentication using json-server and jsonwebtoken

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fake Api Jwt Json Server

Nestjs Graphql
nest-js starter which implement graphql module
Stars: ✭ 111 (-26.49%)
Mutual labels:  jwt, jsonwebtoken
Nestjs Sequelize Jwt
Nest + Sequelize + jwt
Stars: ✭ 127 (-15.89%)
Mutual labels:  jwt, jsonwebtoken
Mern Skeleton
A MERN stack skeleton web application [Full-Stack React Projects]
Stars: ✭ 114 (-24.5%)
Mutual labels:  jwt, jsonwebtoken
Jose2go
Golang (GO) implementation of Javascript Object Signing and Encryption specification
Stars: ✭ 150 (-0.66%)
Mutual labels:  jwt, jwt-authentication
Httpie Jwt Auth
JWTAuth (JSON Web Tokens) auth plugin for HTTPie
Stars: ✭ 140 (-7.28%)
Mutual labels:  jwt, jwt-authentication
Barong
Barong auth server
Stars: ✭ 100 (-33.77%)
Mutual labels:  jwt, jwt-authentication
Netcoreblockly
.NET Core API to Blockly - generate from WebAPI, Swagger, OData, GraphQL =>
Stars: ✭ 121 (-19.87%)
Mutual labels:  jwt, jwt-authentication
Laravel Vue Starter
Well Documented Laravel Starter App From Development to Production. For Full Blown RESTFUL API and SPA with Beautiful UI Using Buefy / ElementUi For Reusable Vue Components
Stars: ✭ 76 (-49.67%)
Mutual labels:  jwt, jwt-authentication
Jersey Jwt
Example of REST API with JWT authentication using Jersey, Jackson, Undertow, Weld, Hibernate and Arquillian.
Stars: ✭ 131 (-13.25%)
Mutual labels:  jwt, jwt-authentication
Jwtxploiter
A tool to test security of json web token
Stars: ✭ 130 (-13.91%)
Mutual labels:  jwt, jsonwebtoken
Djwt
Create and verify JSON Web Tokens (JWT) with deno.
Stars: ✭ 93 (-38.41%)
Mutual labels:  jwt, jsonwebtoken
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-3.31%)
Mutual labels:  jwt, jwt-authentication
Sjwt
Simple JWT Golang
Stars: ✭ 86 (-43.05%)
Mutual labels:  jwt, jsonwebtoken
React Login
A client side implementation of authentication using react.js for my blog on medium. This is the second part of my previous blog on how to implement scalable node.js server.
Stars: ✭ 105 (-30.46%)
Mutual labels:  jwt, jwt-authentication
Angular Full Stack
Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.
Stars: ✭ 1,261 (+735.1%)
Mutual labels:  jwt, jsonwebtoken
Vue Expenses
A simple expense tracking application
Stars: ✭ 117 (-22.52%)
Mutual labels:  jwt, jwt-authentication
Dashboard Server
A JSON file RESTful API with authorization based on json-server
Stars: ✭ 48 (-68.21%)
Mutual labels:  jwt, jsonwebtoken
Dnczeus
DncZeus 是一个基于ASP.NET Core 3 + Vue.js(iview-admin) 的前后端分离的通用后台权限(页面访问、操作按钮控制)管理系统框架。后端使用.NET Core 3 + Entity Framework Core构建,UI则是目前流行的基于Vue.js的iView(iview-admin)。项目实现了前后端的动态权限管理和控制以及基于JWT的用户令牌认证机制,让前后端的交互更流畅。码云镜像:https://gitee.com/rector/DncZeus 。演示地址(demo):
Stars: ✭ 1,104 (+631.13%)
Mutual labels:  jwt, jwt-authentication
Caddy Auth Jwt
JWT Authorization Plugin for Caddy v2
Stars: ✭ 127 (-15.89%)
Mutual labels:  jwt, jwt-authentication
React Role Based Authorization Example
React - Role Based Authorization Example with Webpack 4
Stars: ✭ 147 (-2.65%)
Mutual labels:  jwt, jwt-authentication

JSONServer + JWT Auth

A Fake REST API using json-server with JWT authentication.

Implemented End-points: login,register

Install

$ npm install
$ npm run start-auth

Might need to run

npm audit fix

How to login/register?

You can login/register by sending a POST request to

POST http://localhost:8000/auth/login
POST http://localhost:8000/auth/register

with the following data

{
  "email": "[email protected]",
  "password":"nilson"
}

You should receive an access token with the following format

{
   "access_token": "<ACCESS_TOKEN>"
}

You should send this authorization with any request to the protected endpoints

Authorization: Bearer <ACCESS_TOKEN>

Check out these tutorials:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].