Skip to content

EvgeniyEkimenko/Spring-REST-testing-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful Web service for management online courses and examinations

Implemented:

  1. Spring applications with JWT authorization and access rights

  2. Data Access Object (DAO)

  3. Unit and integration tests for various layers of the application using Junit, Mockito, Spring BootTest, AssertJ

  4. Liquibase for database migration

  5. API documentation using Spring REST Docs and AsciiDoc

Documentation using Spring REST Doc API

RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP verbs.

Verb Usage

GET

Used to retrieve a resource

POST

Used to create a new resource

PATCH

Used to update an existing resource, including partial updates

DELETE

Used to delete an existing resource

RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP status codes.

Status code Usage

200 OK

The request completed successfully

201 Created

A new resource has been created successfully. The resource’s URI is available from the response’s Location header

204 No Content

An update to an existing resource has been applied successfully

400 Bad Request

The request was malformed. The response body will include an error providing further information

404 Not Found

The requested resource did not exist