Skip to content

Demo backend project for an online banking, written with last Java LTS + Spring

License

Notifications You must be signed in to change notification settings

sineverba/online-banking-backend

Online Banking Demo Backend

Demo backend project for an online banking, written with Java 17 + Spring

Service Github link Demo
Backend https://github.com/sineverba/online-banking-backend Swagger
Frontend https://github.com/sineverba/online-banking-frontend Netlify - Vercel

This project uses:

  • TDD
  • 100% test coverage
  • Dockerization
  • CI/CD
CI/CD Link
Circle CI CircleCI
Semaphore CI Build Status
Sonarqube Quality Gate Status
Coveralls Coverage Status

Local development with Docker

There is a dummy database, pre-populated. At first spin, MySQL will re-populate the database with some data.

How generate a random string to use for Jwt secret

$ openssl rand -base64 90

How populate database

If you don't use current database dump, you need to populate roles table with:

INSERT INTO roles(name) VALUES('ROLE_ADMIN');
INSERT INTO roles(name) VALUES('ROLE_CUSTOMER');

Test

$ make test

Coverage

$ make coverage

Coverage will be set into target/site/jacoco

CI - CD custom image

There is a custom image. Need to compile it with $ make cicd to use with Semaphore CI.

About

Demo backend project for an online banking, written with last Java LTS + Spring

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors