Skip to content

jnuwan/api-eureka-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Based on the details retrieved, here's a README file for the api-eureka-service repository:

# API Eureka Service

Microservice eureka service demo.

## Table of Contents

- [Overview](#overview)
- [Features](#features)
- [Technologies](#technologies)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## Overview

The `api-eureka-service` is a demo microservice that acts as a service registry using Netflix Eureka. It allows microservices to register themselves at runtime as they come up in the system and to discover other registered services for communication.

## Features

- Service registration and discovery.
- Built-in fault tolerance.
- Load balancing with Ribbon.
- Easy integration with Spring Boot applications.

## Technologies

- **Programming Language**: Java
- **Framework**: Spring Boot
- **Service Discovery**: Netflix Eureka
- **Build Tool**: Maven

## Getting Started

### Prerequisites

- Java 11 or higher
- Maven

### Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/jnuwan/api-eureka-service.git
   cd api-eureka-service
  1. Build the project using Maven:

    mvn clean install
  2. Configure your Eureka server settings in application.properties.

Running the Application

To run the application locally, use the following command:

mvn spring-boot:run

This will start the Eureka server, and you can access the Eureka dashboard at http://localhost:8761.

Usage

Once the Eureka server is running, other microservices can register with it by configuring their application.properties to point to the Eureka server. Below is an example configuration for a client microservice:

spring.application.name=client-service
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Steps to Contribute

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is not currently licensed under any specific license.

Contact


Feel free to customize the sections such as `Technologies` and `Contact` with specific details relevant to your project and personal information.

About

Microservice eureka service demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages