Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.13 KB

Food_StoreChain_Portal_Back-end

This is the Back-End Part of the project "Food_StoreChain_Portal" using Java EE with JAX-RS, JPA, EJB and JAAS.

You can check the Front-End Part Here.

Dependencies

  • JAVA EE 8
  • Maven
  • MySQL Database

This is a maven project so maven takes care of all other dependencies:

  • Swarm to run server
  • JAX-RS for Rest Services
  • JPA for integration with a persistent DataBase (MySQL)
  • EJB to handle fetching and database transactions
  • JAAS for authentication of users

How to Run?

  • run database scripts in dp-scripts/ or we can simply create our own database with data (considering entity names)

  • with maven installed run command mvn clean install && java -jar target/Food_Portal_BE-swarm.jar

How to Use?

  • When run the server can be found on localhost:8080/food-portal/

  • We can then talk to the server using the browser (GET requests) or through Postman for other HTTP methods

  • Alternatively we can talk to the server using the other part of this project the Front-end using AngularJS