Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

neelbavarva/spring-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Blog

Frontend Preview

Backend

For Developmental Tracking

APIs

Auth APIs

  • Login ( /api/auth/login )
  • Signup ( /api/auth/signup )

User APIs

  • Get All Users ( /api/user/getAll )
  • Extract Username from jwtToken ( /api/user/getUser )

Post APIs

  • Add Post ( /api/post/addPost )
  • Get All Posts ( /api/post/view/all )
  • Get All Posts of a User ( /api/post/view/user/{username} )
  • Update Post ( /api/post/update/{id} )
  • Delete Post ( /api/post/delete/{id} )

How to Run this application

1 Should already have installed mysql and mysqlworkbench
2 Create 'springblog' schema in your local instance through mysqlworkbench
3 Run both the application ( Frontend serving on localhost:3000 and Backend serving on localhost:5000 )

For running frontend

npm start

For running backend ( or just use IntelliJ to run directly )

mvn spring-boot:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published