Skip to content

milenaps/java-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample RESTful WS JAVA application built with Spring Boot

Pre-requisites to run this app

  1. Clone this repository;
  2. Download and install the JDK latest version;
  3. Download, install and run MongoDB, and create the schema "cms";
  4. Preferrably use some IDE such as Eclipse or IntelliJ, otherwise, you'll need Maven installed and configured on your machine.

Running the app

  1. In your IDE, import the app as Maven project and run a 'maven build' to force downloading and configuring dependencies. If you opted by not using some IDE, go to the project root folder via command line and build it with "mvn";
  2. Having compiled the project successfully, run it as 'Java Application' choosing the main class "com.avenue.blog.cms.Application";
  3. If no exception popped up in your console, try calling http://localhost:3001/api/products on your browser to see the results.

About

Sample Spring Boot app exposing REST APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages