mehuljain91 / user-email-springboot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

user-email-springboot backend api

Created using H2 database in-memory database
Rest API endpoints POST /user, GET /users, GET /users/{id}, POST /email, GET /emails/count?user={userID}

Requirements

For building and running the application you need:

Running Application

There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.example.useremail.UseremailApplication class from your IDE.

Alternatively you can use the Spring Boot Maven plugin like so:

mvn spring-boot:run

Or you can

  • Download the zip or clone the Git repository.
  • Unzip the zip file (if you downloaded one)
  • Open Command Prompt and Change directory (cd) to folder containing pom.xml
  • Open Eclipse
    • File -> Import -> Existing Maven Project -> Navigate to the folder where you unzipped the zip
    • Select the right project
  • Choose the Spring Boot Application file (search for @SpringBootApplication)
  • Right Click on the file and Run as Java Application
  • Application will start running on localhost

About


Languages

Language:Java 100.0%