This is the template provided to start the web server for the second lab.
We encourage you to use either IntelliJ IDE or maven from command line in order to get the best support from our TAs.
-
The server/REST API
- Located in the rest package
- Is used to hold the REST API built in the previous lab
-
The client
- Located in the client package
- Is used to hold the related classes for building the client side for our lab
- For each included project, navigate to the directory and find the pom.xml file, right click and click on "Add as Maven Project" to load up the project and start working on it.
- Browse to desired class to run the main method
- Right click associated class and choose Run main()
Run the following commands in the associated project directory:
Compile:
mvn install
Run (Server)
mvn exec:java -Pserver
Run (Customer Client)
mvn -e exec:java -Pbook
Clean:
mvn clean