Skip to content

dhureen1/capstone-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

384 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Score & Eligibility Assessment Platform

The Credit Score & Eligibility Assessment Platform is a web-based system developed for a financial institution to evaluate customer financial data, calculate credit scores, and determine eligibility for various financial products. The platform allows customers to securely register and log in, create and manage their credit profiles, view their credit score, check eligibility results, and access their credit history. The system also provides administrative functionality where admins can review customer financial information, calculate credit scores using predefined business rules, and perform manual score overrides when necessary while maintaining a complete audit trail of such actions. The application is designed as a full-stack solution using Spring Boot for backend services, Vue.js for frontend development, PostgreSQL for database management, and Docker for containerized deployment, ensuring secure access, role-based authorization, and efficient credit assessment.

Github Link: https://github.com/dhureen1/capstone-project.git

Instructions to Run the Project

1.Clone the Repository 2.Clone the project from GitHub and navigate to the project directory. git clone https://github.com/dhureen1/capstone-project.git 3.cd capstone-project 4.Setup PostgreSQL Database 5.Ensure PostgreSQL is installed and running. Create a new database for the application. CREATE DATABASE creditscoredb; 6.Update the database configuration in the backend application.properties file with your PostgreSQL credentials. Example configuration: spring.application.name=Credit Score & Eligibility Assessment Platform spring.datasource.url=jdbc:postgresql://localhost:5433/creditscoredb spring.datasource.username=postgres spring.datasource.password= spring.datasource.driver-class-name=org.postgresql.Driver spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect

creditScore.app.jwtSecret=${JWT_SECRET} creditScore.app.jwtExpirationMs=${JWT_EXPIRATION}

Run the Backend (Spring Boot) Navigate to the backend folder and start the Spring Boot application. cd backend mvn spring-boot:run The backend server will start at: http://localhost:8080

Add admin manually into users table:
	INSERT INTO users (name, email, password, role, created_at)
    VALUES (
    'Admin User',
    'admin@bank.com',
        ‘$2a$10$8z6dY5k7Wqv1G6e7XJ7nOe3VbV2c7pQ9cQzPq3G4K6bYJd3zQhR7K’,
                'ADMIN',
    NOW()
    );

(The password stored in the database is BCrypt encrypted, as Spring Security uses BCrypt hashing for secure password storage.The password used here is: Admin@123).

Run the Frontend (Vue.js) Navigate to the frontend folder, install dependencies, and start the development server. cd frontend/capstone-client npm install npm run dev The frontend application will run at: http://localhost:5173 Access the Application Open a browser and visit: http://localhost:5173 Ensure that PostgreSQL and the backend server are running for the application to work correctly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors