Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ernestort/web-application


https://github.com/ernestort/web-application

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

#web-application

###Overview
Here is an example of how to build a web application using only **HttpServer** with a authentication and roles associated to this view.

###Versions...

* Java 1.8.0_40
* Apache maven 3.2.1

###How to build it

Easy;

1. Clone it.
2. mvn clean install (test-web-application.jar will be generated on target folder)
3. java -jar test-web-application.jar
4. Go to http://localhost:8888/
5. Use username:user12 pass:12 to log In

###Good to know

1. You will be able to find server port (8888) and session duration (5 minutes) on properties file called application.
2. You will find all user on UsersProvider.
3. Look for AllTests.java to launch all scenarios.

###Enjoy it!