Skip to content

deepakchandh/spring-react-mysql-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Spring React app

To run this app

  1. Clone the repository and open book-app-server folder in your Spring Tool Suite
  2. Make sure MySQL is running in your system
  3. Next go to this src/main/resources/application.properties file and change your database name, username and password
  4. Once completed, run the spring boot app in Spring Tool Suite or run the cmd "mvn spring-boot:run"
  5. To run the react app, go the location book-app-client and enter the command "npm install && npm start"
  6. Then go to http://localhost:3000/ you will get the page.

Rest APIs

Response

{ "id": 100, "title": "Spring microservice in action", "author": "john carnell", "coverPhotoURL": "iuiuyolkhk", "isbnNumber": 7987709099090, "price": 3222, "language": "English" }

input

{ "id": 101, "title": "Spring in action", "author": "john carnell", "coverPhotoURL": "iuiuyolkhk", "isbnNumber": 7987709099090, "price": 3200, "language": "English" }

Response

[ { "id": 100, "title": "Spring microservice in action", "author": "john carnell", "coverPhotoURL": "iuiuyolkhk", "isbnNumber": 7987709099090, "price": 3222, "language": "English" }, { "id": 101, "title": "Spring microservice in action", "author": "john carnell", "coverPhotoURL": "iuiuyolkhk", "isbnNumber": 7987709099090, "price": 3222, "language": "English" }, { "id": 102, "title": "Spring in action", "author": "john carnell", "coverPhotoURL": "iuiuyolkhk", "isbnNumber": 7987709099090, "price": 3200, "language": "English" } ]

input

{ "id": 102, "title": "Apache Kafka", "author": "john carnell", "coverPhotoURL": "iuiuyolkhk", "isbnNumber": 7987709099090, "price": 1000.00, "language": "English" }

About

A book store app with database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published