Skip to content

learning and implementing Spring and Spring Boot...from this repository, anyone can learn Spring Boot...here I will try to give all notes on whatever I am preparing, and a well-structured folder structure ...

Notifications You must be signed in to change notification settings

ArjunDev17/springBoot_rest_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Spring Boot REST API Learning

This is a sample Spring Boot project showcasing the usage of various annotations and concepts, including @Component, @Autowired, @Qualifier, @Primary, and the creation of separate configuration files using @Configuration notation.

necessary annotation for any spring boot Project Overview

  • @Component and @Autowired:

    • Demonstrates the use of @Component to define Spring beans and @Autowired to inject dependencies.
  • @Qualifier:

    • Handles bean conflicts using @Qualifier annotation when there are multiple beans of the same type.
  • @Primary:

    • Illustrates the use of @Primary to specify the primary bean when multiple beans of the same type are present.
  • Separate Configuration File:

    • Utilizes @Configuration to create separate configuration classes.

Usage

To run the project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/ArjunDev17/springBoot_rest_api.git
    

About

learning and implementing Spring and Spring Boot...from this repository, anyone can learn Spring Boot...here I will try to give all notes on whatever I am preparing, and a well-structured folder structure ...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published