Skip to content

πŸ”‘ Example of a secured RESTful API using JPA & JAX-RS by following the ECB Pattern

License

Notifications You must be signed in to change notification settings

LPCISIIE/REST-JPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b49aacf Β· Feb 17, 2017
Feb 11, 2017
Jan 29, 2017
Jan 16, 2017
Feb 17, 2017
Jan 29, 2017

Repository files navigation

RESTful Web Services with JAX-RS (JavaEE)


About

This is an example of a RESTful API written in Java, using Jax-RS and JPA. This application allows you to manage an online fast-food store. Therefore, you can create, edit and remove : sandwiches, customers, orders, receipts, ingredients and categories.
This application follows the Entity-Control-Boundary pattern.

Warning

In order to create PDF files, the application will create a folder inside of your JBoss Server directory (such as Wildfly) make sure to have the access right to write files, else you can change the path in src/main/java/control/ReceiptGenerator.java at line 30.

Features

  • Accounts
  • Bearer Token Authentication
  • CORS Filter
  • Documentation (Powered by Swagger.io)
  • HATEOAS
  • JSON Web Token
  • Password Hashing
  • PDF Generator
  • Role Accounts

Authors

Xavier CHOPIN, Corentin LABROCHE, David LEBRUN and Alexis WURTH

License

This application is open-sourced software licensed under the MIT license.