Create Nuban Number by Inputting Bank Code and Bank Serial Number. This uses CBN approved algorithm to generate
- NubanGenerator - Backend (Java, Spring Boot, MySQL)
- NubanGeneratorFrontend - Frontend (Angular)
- Edit
application.properties
inNubanGenerator/src/main/resources
and add MySQL Details before running Project
spring.datasource.url=jdbc:mysql://{HOST}:{PORT}/{DATABASE NAME}?useSSL=false
spring.datasource.username={DATABASE USER}
spring.datasource.password={DATABASE PASSWORD}
GET - api/nubans
- View all saved NUBANs
POST - api/generate
- Generate NUBAN
@body - bankCode, serialNumber
- Edit
environment.development.ts
inNubanFrontend/src/environments
and edit the backend api urlapiUrl
before running
export const environment = {
production: false,
apiUrl: 'http://localhost:8080/api/'
};
Install nodejs and npm first before installing dependencies
cd NubanFrontend
npm install
Install Angular CLI and run
ng serve