Giter Club home page Giter Club logo

jwttokenbasedsecurity's Introduction

jwtTokenBasedSecurity

This project is an attempt to implement Spring Security with JWT token in a monolithic architecture application.

Getting Started

Download or Clone the project on your local machine and import it as maven project in your IDE. After successful import run as Spring Boot Application

Prerequisites

MySQL 8
JDK 8 or above
Apache MAVEN

Testing the application in POSTMAN

  1. Register a new Student with following JSON
URL:- http://localhost:8080/student/register
{
	"studentName":"John",
	"email":"[email protected]",
	"password":"john123",
	"marks":{
		"math":50,
		"eng":70,
		"chem":75,
		"ip":85,
		"phy":65
	},
	"standard":9
}
  1. Login to generate the token
URL:- http://localhost:8080/student/login

{
	"workEmail":"[email protected]",
	"password":"shail123"
}
  1. Get the Details of all Student URL:- http://localhost:8080/student/getall

Add the JWT Token generated in previous step in the Authorization Bearer Token

jwttokenbasedsecurity's People

Contributors

ishailendra avatar

Stargazers

Jonas avatar

Watchers

 avatar

Forkers

rainsunon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.