Skip to content

khaimed/CIGMABank

Repository files navigation

CIGMABank Project

Overview

This project is a web application developed for CIGMABank as part of a graduation requirement. The application is built using Angular for the frontend and .NET Core for the backend.

Table of Contents

Features

  • User Authentication: Secure login and registration with JWT.
  • Account Management: View and manage bank accounts.
  • Transaction History: Track and view transaction details.
  • Funds Transfer: Transfer money between accounts.
  • Admin Panel: Manage users and accounts.

Technologies Used

  • Frontend: Angular
  • Backend: .NET Core
  • Database: SQL Server
  • Authentication: JWT

Installation

Prerequisites

Steps

  1. Clone the repository:
    git clone https://github.com/yourusername/cigmabank-project.git
  2. Navigate to the project directory:
    cd cigmabank-project
  3. Install frontend dependencies:
    cd frontend
    npm install
  4. Install backend dependencies:
    cd ../backend
    dotnet restore
  5. Set up the database:
    • Create a new SQL Server database.
    • Update the connection string in appsettings.json with your database details.
    • Run the migrations to set up the database schema.
      dotnet ef database update
  6. Run the application:
    • Start the backend server.
      cd backend
      dotnet run
    • Start the frontend server.
      cd frontend
      ng serve

Usage

  1. Navigate to http://localhost:4200 in your web browser.
  2. Register a new user or log in with existing credentials.
  3. Explore the features like account management and transaction history.

API Endpoints

User Authentication

  • POST /api/auth/login - Log in a user
  • POST /api/auth/register - Register a new user

Account Management

  • GET /api/accounts - Get all accounts
  • POST /api/accounts - Create a new account
  • GET /api/accounts/{id} - Get account details

Transactions

  • GET /api/transactions - Get all transactions
  • POST /api/transactions - Create a new transaction

Contributing

Contributions are welcome! Please fork this repository and submit a pull request.

License

This project is licensed under the MIT License.

Contact

For any questions or suggestions, please contact:

Myself Frontend

Co-team Backend

About

PFE 2022 Bank Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published