Skip to content

Avinash2k4/Store-spring-boot-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Store Spring Boot Basic

A minimal Spring Boot starter project using Maven β€” preconfigured with the Maven Wrapper to make it easy to build and run locally.

Table of Contents

Overview

This repository contains a lightweight Spring Boot application set up using Apache Maven and the Maven Wrapper. It is intended as a simple starting point for building REST APIs, experimenting with Spring Boot features, or teaching core concepts.

Features

  • Spring Boot application starter
  • Maven Wrapper included (no global Maven required)
  • Ready to build into an executable JAR
  • Placeholder for adding REST endpoints, persistence, and security

Tech stack

  • Java (JDK 17+ recommended)
  • Spring Boot
  • Maven
  • Maven Wrapper

Prerequisites

  • Java JDK 17 or newer
  • Git
  • (Optional) Docker β€” if you plan to add containerization later

Run locally

  1. Clone the repository

    git clone https://github.com/Avinash2k4/Store-spring-boot-basic.git cd Store-spring-boot-basic

  2. Run with Maven Wrapper

    Linux / macOS ./mvnw spring-boot:run

    Windows mvnw.cmd spring-boot:run

  3. Open http://localhost:8080 (or the port configured in application.properties)

Build

Build an executable JAR using the wrapper:

Linux / macOS ./mvnw clean package

Windows mvnw.cmd clean package

Run the generated JAR:

java -jar target/*.jar

Tests

Execute unit tests with:

./mvnw test

Project structure

.
β”œβ”€β”€ .mvn/ # Maven wrapper files β”œβ”€β”€ mvnw, mvnw.cmd # Maven wrapper scripts β”œβ”€β”€ pom.xml # Maven configuration β”œβ”€β”€ src/main/java/ # Application source β”œβ”€β”€ src/main/resources/ # Application resources (application.properties) └── target/ # Build output (generated)

Configuration

Edit src/main/resources/application.properties (or application.yml) to change server port, datasource settings and other properties.

Roadmap

Planned enhancements:

  • Add sample REST endpoints for a store (products, orders, customers)
  • Integrate with a database (H2 / MySQL / PostgreSQL)
  • Add Spring Security for authentication and authorization
  • Containerize with Docker

Contributing

Contributions are welcome. Please open an issue or submit a pull request describing your changes.

Author

Avinash P β€” Aspiring Software Engineer

License

This project is provided under the MIT License. See LICENSE for details.

About

This is the basic project to work with the springboot basic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors