Skip to content

A hotel management web application with Spring, Hibernate and Jersey built under Scrum iterations and deployed to a Tomcat server with ReactJS as the front-end.

Notifications You must be signed in to change notification settings

npaganini/Hotel-Manager

Repository files navigation

Hotel Manager

Running the project

Requirements

Java 8

Download and install the latest Java 8 version from AdoptOpenJDK.

Apache Maven

Download and install the latest version of Maven.

Apache Tomcat

Download and install Tomcat version 7.0.76 here.

Node.js & npm

Download and install the latest version of Node.js and npm.

Backend

Tomcat

To run the backend of the project, run the following commands from ROOT in console:

  • mvn clean compile
  • mvn install

From /apache-tomcat-7.0.76/bin/

$ catalina.sh run

The application should be running in http://localhost:8080/.

Jetty

You may also run Jetty instead of Tomcat:

  • mvn clean compile
  • mvn install
  • cd webapp
  • mvn jetty:run
    • jetty runs by default on port 8080
    • if that's in use you can use instead: mvn -Djetty.port= <anotherPort> jetty:run

Check localhost:<portUsed> to see if the application is running!

Frontend

The frontend of the application was developed in ReactJS.

To run the development server, run the following commands from ROOT in console:

  • cd react-app/react-client
  • npm run build
  • npm start

The application should be running in http://localhost:3000.

Accounts Credentials

Manager & Employees

Username: manager

Password: password

Username: employee

Password: password

Hotel guests

Username: e-mail entered during reservation

Password: passwords are mailed to the reservation e-mail after performing log in.

About

A hotel management web application with Spring, Hibernate and Jersey built under Scrum iterations and deployed to a Tomcat server with ReactJS as the front-end.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published