Skip to content

TusharMalakar/JavaSpringBootMicroServices-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaAPI_SpringBoot Micro-services

Licensed to the Apache Software Foundation

Licensed to MIT

Spring Security with JWT Authentication

JMS Messaging

Endpoints:

1.  GET request to log in to exiting account.
		   
	domain + user/login?username=testsuer1&password=password
	
	return {"success":true,"token":"You successfully logged in!"}
		   or {"success":false,"token":"error message"}


2.  POST request to create a new account.
	
	domain + /createAccount + 	token + 
							{
								"username" : "testuser41",
								"password" : "password"
							}
	return { "success": true, "token": "success" }
	or     { "success": false, "token": "error message" }

About

It is an simple JAVA API design using Spring Boot, Tomcat and "Json Web Token (Jwt)" based authentication. I used Amazon Web Service (AWS) and Mongodb to store my data. I implemented different types of Mapping eg. @GetMapping, @PostMapping, @PutMapping and @DeleteMapping

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages