Git Product home page Git Product logo

cryptosingh1337 / spring-blog-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 216 KB

RESTful CRUD API for a Blog using Spring Boot, MySQL, JPA and Hibernate. Note: this API is deployed on Heroku, so initially it will take time to load.

Home Page: https://upbeat-johnson-e53638.netlify.app/

Java 99.83% Vim Snippet 0.17%
spring-boot spring-mvc spring-data-jpa spring-rest-api spring-rest-docs hibernate h2-database mysql junit5 mockito

spring-blog-api's Introduction

Note: This API is deployed on Heroku, so initially it will take time to load.

Spring Blog API

RESTful CRUD API for a Blog using Spring Boot, MySQL, JPA and Hibernate.

Issues Closed Issues Open PRs Open Last Commit PRs Welcome

Run Locally

Clone the Repo

  git clone https://github.com/CryptoSingh1337/spring-blog-api.git

Change current working directory

  cd spring-blog-api

Run verify goal

  ./mvnw clean verify

Run Spring boot application (default port: 8080)

  java -jar target/*.jar

Running Tests

To run tests, run the following command

  ./mvnw clean verify

Documentation

Documentation

Tech Stack

Server: Spring Boot, Spring WebMvc, Spring Data JPA

ORM: Hibernate

Database: H2-Database, MySQL

Testing: JUnit 5, Mockito

Documentation: Spring Rest Docs

Deployment: Heroku

spring-blog-api's People

Contributors

cryptosingh1337 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

spring-blog-api's Issues

Fix Post class to use Lazy Loading

When we are fetching posts from Database, hibernate is also fetching comments for that post.
This is happening because of Post to PostDTO mapping.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.