This is a basic hotel reservation by date website.
Clone this repo to your local machine How To Guide
- Basic Knowledge of JAVA. Great tutorial on Javatpoint.
- Java JDK 8 at least installed locally Oracle Docs for Mac & Windows.
- Maven installed
- An IDE. Check out intelliJ IDEA.
- Basic knowledge of Springboot
Install all project dependencies with:
$ mvn install
###How to run Firstly run the remote progress database container with docker in /bin
- Docker installed
- Psql installed for the postgres database
- Open the start_postgres.sh and run the bash file.
then.
####Maven Open a terminal and run the following commands to ensure that you have valid versions of Java and Maven installed:
$ java -version
$ mvn -v
You should get the versions of Java and Maven.
#####Using the Maven Plugin The Spring Boot Maven plugin includes a run goal that can be used to quickly compile and run your application. Applications run in an exploded form, as they do in your IDE. The following example shows a typical Maven command to run a Spring Boot application:
$ mvn spring-boot:run
#####Using Executable Jar To create an executable jar run:
$ mvn clean package
Tests can be run by executing following command from the root of the project:
$ mvn test
The test should pass.