This project provides an API for accessing bank and branch information.
The Bank API Project allows users to access information about banks and their branches through a RESTful API. It provides endpoints to retrieve data about banks and branches, including their IFSC codes, addresses, cities, districts, states, and more.
To access information about banks, you can make GET requests to the following endpoint:
This endpoint will return a list of all banks.
To access information about branches, you can make GET requests to the following endpoint:
This endpoint will return a list of all branches.
You can use any HTTP client, such as cURL, Postman, or Python's requests
library, to make requests to the API endpoints described above.
curl http://localhost:8000/api/banks/
curl http://localhost:8000/api/branches/
To set up and run the project locally, follow these steps:
Clone the repository:
git clone https://github.com/your_username/bank_api_project.git
Navigate to the project directory:
cd bank_api_project
Install the required dependencies:
pip install -r requirements.txt
Apply migrations to create the database tables:
python manage.py migrate
Run the development server:
python manage.py runserver
Access the API endpoints using the provided URLs.