Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdsamsuzzohashayon/springboot-java-microservices
Java spring boot basic maven, java spring boot mongodb and microservices
https://github.com/mdsamsuzzohashayon/springboot-java-microservices
java-spring java-spring-boot maven microservice spring-boot spring-cloud
Last synced: 1 day ago
JSON representation
Java spring boot basic maven, java spring boot mongodb and microservices
- Host: GitHub
- URL: https://github.com/mdsamsuzzohashayon/springboot-java-microservices
- Owner: MdSamsuzzohaShayon
- Created: 2023-01-09T10:33:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T08:16:26.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T06:13:07.965Z (9 days ago)
- Topics: java-spring, java-spring-boot, maven, microservice, spring-boot, spring-cloud
- Language: Java
- Homepage:
- Size: 592 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Springboot
- [tutorial](https://www.youtube.com/watch?v=QuvS_VLbGko), [start project](https://start.spring.io/) from here and import into intellij or eclipse
- There are 3 api endpoints is beed made
- `/` Test the api `curl -X DELETE http://localhost:8080`
- `/photoz` Get all photo `curl -X GET http://localhost:8080/photoz`
- `/photoz/1` Get single photo `curl -X GET http://localhost:8080/photoz/1`
- `/photoz/1` delete single photo `curl -X DELETE http://localhost:8080/photoz/1`
- `/photoz` create a photo `curl -X POST http://localhost:8080/photoz -H 'Content-Type: application/json' -d '{"fileName": "file2.jpg"}'`
- `/photoz` upload a real photo __http://localhost:8080/upload.html__
- `/download/photoId` Download the uploaded photo __http://localhost:8080/download/bf29356-eeb6-4a73-adc7-aae43251a8d9__
- Database operations
- __http://localhost:8080/h2-console__ Access database from here db url will be `jdbc:h2:~/Documents/springboot-photoz/data/springboot`
- Set no user name and passwordhttps://www.youtube.com/watch?v=lh1oQHXVSc0&list=PLSVW22jAG8pBnhAdq9S8BpLnZ0_jVBj0c