Skip to content

Code Generation Groep3B - Chris Lips, Thijs van Tol, Stef Robbe en Tim Gras

Notifications You must be signed in to change notification settings

TimGrasInholland/CodeGeneration2.4

Repository files navigation

Login Credentials

Employee:

Username: Adrie538

Password: Welkom123!

Customer:

Username: SjaakMaster

Password: Test123!

Specification

Our swagger specification can be found here: https://inholland-bank-api.herokuapp.com/api/swagger-ui.html

Testing

Java testing

This project contains Cucumber and Unit testing (Controller/Model). This can be found at: /src/test/

Postman Functional testing

We have created a postman collection for functional testing. The public collection URL is: https://documenter.getpostman.com/view/11069108/SztHWjhL

Frontend

We also made a frontend website for the REST API. The path for the frontend is: /src/main/resources/public/Home.html

Heroku

We have deployed our REST API to Heroku. Heroku is assigned with GitHub so all new commits in the master branche will deploy automaticly to heroku. Heroku REST API: https://inholland-bank-api.herokuapp.com/api/

Swagger UI

This is a swagger based Spring Boot Server. Our API specification has been made in SwaggerHub: https://app.swaggerhub.com/apis/Inholland_623434/Swagger_Specification_3B/2

Division Of Tasks

Backend Java
Accounts
GET /Accounts Thijs
POST /Accounts Thijs
PUT /Accounts Chris
GET /Accounts/iban/{IBAN} Thijs
GET /Users/{id}/Accounts Thijs
Transactions
GET /Transactions Stef
POST /Transactions Stef
GET /Accounts/{id}/Transactions Stef
GET /Users/{id}/Transactions Thijs
Users
GET /Users Tim
POST /Users Tim
PUT /Users Tim
GET /Users/{id} Chris
Security
POST /Login Chris/Thijs
DELETE /Logout Chris/Thijs
GET /SessionToken/{APIkey} Chris/Thijs
Frontend HTML/CSS/JS
Adobe XD Design Stef
Home Jesse
Login Stef(HTML/CSS) / Thijs(JS)
Register Tim
Create Account Thijs
MyAccounts Stef(HTML/CSS) / Chris(JS)
ViewUser Stef
CustomerViewAccount Chris(HTML/CSS) / Stef(JS)
EmployeeDashboard Chris
EmployeeViewAccounts Tim
EmployeeViewUsers Tim
EmployeeViewTransactions Thijs
EmployeeViewAccount Chris

Overview

This server was generated by the swagger-codegen project.
By using the OpenAPI-Spec, you can easily generate a server stub.
This is an example of building a swagger-enabled server in Java using the SpringBoot framework.

The underlying library integrating swagger to SpringBoot is springfox

Start your server as a simple java application

You can view the api documentation in swagger-ui by pointing to
http://localhost:8080/

Change default port value in application.properties

About

Code Generation Groep3B - Chris Lips, Thijs van Tol, Stef Robbe en Tim Gras

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published