https://github.com/cvilleger/petitponey
A Java Spring API School Project
https://github.com/cvilleger/petitponey
Last synced: 2 months ago
JSON representation
A Java Spring API School Project
- Host: GitHub
- URL: https://github.com/cvilleger/petitponey
- Owner: cvilleger
- Created: 2015-03-20T15:34:04.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-20T19:33:52.000Z (about 10 years ago)
- Last Synced: 2025-02-02T00:41:15.161Z (4 months ago)
- Language: Java
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PetitPoney
A Java Spring API School Project## What is it ?
API :
GET /phone OK (return list of stolen phones)
GET /phone/{id} OK (return boolean if is a stolen phone (or a Not Found Exception))
PUT /phone/{serialNumber} OK (return the phone(or a Not Found Exception))
POST /phone OK (return the phone)
FRONT :
HTML/AJAX with a list of stolen phonesTESTS :
All is tested with should and shouldNot (6/6 passed)