Skip to content

It is REST API for a Blog App which allows user to post blog,view blog and provide authorization and authentication using Spring Security.

Notifications You must be signed in to change notification settings

vivekraj21/Blog-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Blog-App

p1

Motto

  • It is a SpringBoot application which provide REST APIs to user for posting blog, view blog etc.

Features :

  • Authorization is added for users using Spring Security.
  • Logged In User can post blogs and view all blogs.

Responsibility :

  • Individual Project

Tech-Stack :

Java | SpringBoot | Spring Security | Lombok | PostMan | MySQL | Git

Deployment :

  • Copy the code and start it into your STS.

  • Then make change in application.properties file according to below image. p1

  • Then run the application as Spring Boot App.

  • Once it starts,we can open PostMan to test the application.

    1. To register user : p1
    1. To Login User : login
  • You will get JWT after login successfully.

    1. To Post blog : first provide blog details post
  • Then go to header and provide in key : Authorization and in Value : Bearer your_JWT and hit Send button.

  • You can also watch all previous posted blogs ,find blog by Id etc.

About

It is REST API for a Blog App which allows user to post blog,view blog and provide authorization and authentication using Spring Security.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages