Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.49 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.49 KB

Spring Auth API

Table of Contents

Overview

This is a Spring Boot API project that requires Java 17, PostgreSQL, and Redis. The project uses Maven for dependency management and build automation.

Prerequisites

Before running the project, ensure you have the following installed:

  1. Java 17: Download and install from here.
  2. Docker and Docker Compose: Install Docker from here and Docker Compose from here.

Setting Up PostgreSQL and Redis Using Docker Compose

  1. Run the following command to start PostgreSQL and Redis:

    docker-compose up -d

Building and Running the Project

  1. Ensure Java 17 is installed:

    java -version

    The output should be similar to:

    java version "17.0.x"
    Java(TM) SE Runtime Environment (build 17.0.x)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0.x, mixed mode)
    
  2. Build the project using Maven:

    mvn clean install
  3. Run the project:

    mvn spring-boot:run

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.