/environment

Standard environment for REST APIs development

Primary LanguageJava

Environment

Standard Java Web environment for REST APIs development.

What is it?

This is a Java project with all set up ready to develop Rest Services. There's an example, following the main J2EE design patterns, which can be followed as a template to create real services.

A maven project, based on Spring Web MVC, with JPA and Hibernate libs included 
ready to connect a database, developed on Tomcat v9.0 .

This project can be used as a template for students and professionals which have to begin a Java Environment to develop Rest Services using Spring MVC.

Tip: Just remember to change the application server dependency, on the main pom.xml, to fit on your application server. In case of students, its ready to run on a Tomcat v9.0. For professionals, you're probably not using Tomcat.

How to use?

It's very simple to use!

Step 1 - Clone the environment.

1.1 - Copy the repository link to your clipboard.

alt text

1.2 - Run a git clone into your folder.

Step 2 - Import maven project.

2.1 - Import the environment into your IDE as a maven project. I'm using Eclipse in this example.

alt text

Step 3 - Deploy your environment.

3.1 - Deploy environment-api into your application server.

It's done! You're all set, you can test through the sample Hello World.

Its a GET method, and the path is 'environment-api/hello'.

alt text

Authors

Feel free to open an issue if you have any suggestion!