Exam for Stokkur position
This project includes API endpoints for CRUD operations over an Account Entity.
- Java 8+
- Maven or the one included on Intellij IDEA IDE
- Mysql Server
git clone [email protected]:wisog/accounts.git
https://github.com/wisog/accounts/blob/master/src/main/resources/application.properties
mvn spring-boot:run
and the project will be available on
http://localhost:8080
An API documentation web page is available on
http://localhost:8080/swagger-ui.html
The API have Basic Authentication for POST, PUT and DELETE requests User & Password are:
user: root
pwd: toor
Any GET request is permited.
accounts - src
├── com.stokkur.exam.demoAccounts/ - Java source code.
| ├── config/ - System Security & Swagger configurations.
| ├── dto/ - The Data Transfer Object classes using Jackson annotations
| ├── model/ - Entities for model objects
| ├── repository/ - Spring Crus Repositories for data Access
| ├── rest/ - Parent package for REST services code
| | ├── util/ - Custom classes for all services
| ├── service/ - Parent package for the services logic
| | └── util/ - Util classes as Helpers for services including objects mapping
| | └── impl/ - Classes implementing service logic