Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the RandomUserApiApplication in IntelliJ IDEA

RandomUserApiApplication is a Kotlin-based Spring Boot application which facilitates various user-related functionalities. This document outlines the steps required to run the RandomUserApiApplication.kt file within the IntelliJ IDEA environment.

Prerequisites

  • Java Development Kit (JDK), version 1.8 or higher.
  • The latest version of IntelliJ IDEA.

Setup & Execution

1. Clone the Repository:

On your local machine, clone the repository by executing the following command in your terminal:

git clone https://github.com/zicula/RandomUserApiApplication.git

2. Open the Project in IntelliJ IDEA:

Launch IntelliJ IDEA and select "Open". In the dialog box, navigate to the directory where you cloned the project and open it.

3. Build the Project:

navigate to "Build" -> "Build Project" to build the application.

4. Run the Application:

To run the application, locate the RandomUserApiApplication.kt file within your project structure (src/main/kotlin/com/api/randomuserapi/RandomUserApiApplication.kt). Right-click on the file and select "Run 'RandomUserApiApplicationKt'". The Spring Boot application should now start.

5. Accessing the Application

After successfully starting the application, you can access it by opening a web browser and navigating to http://localhost:8089, or another port if you have configured it differently from the default. (edit port at -> src/main/resources/application.properties)

6. API: Get RandomUser Data

go to http://localhost:8089/v1/users/{seed} {seed} is the unique identifier associated with each user. Replace {seed} with the actual seed value of the user.

example: http://localhost:8089/v1/users/test1

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages