https://github.com/SylviaChebetEMTH/Insurance-Policy-Management-System
A simple Insurance Policy Management System built with React (frontend) and Python with Flask (backend) using SQLite as the database. The system allows users to view, add, edit, and delete insurance policies while providing search and filter capabilities.
https://github.com/SylviaChebetEMTH/Insurance-Policy-Management-System
flask python react sqlite tailwindcss
Last synced: 6 months ago
JSON representation
A simple Insurance Policy Management System built with React (frontend) and Python with Flask (backend) using SQLite as the database. The system allows users to view, add, edit, and delete insurance policies while providing search and filter capabilities.
- Host: GitHub
- URL: https://github.com/SylviaChebetEMTH/Insurance-Policy-Management-System
- Owner: SylviaT01
- Created: 2025-03-21T07:50:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T19:02:07.000Z (about 1 year ago)
- Last Synced: 2025-03-31T20:21:57.218Z (about 1 year ago)
- Topics: flask, python, react, sqlite, tailwindcss
- Language: Python
- Homepage: https://insurance-policy-management-system.vercel.app/
- Size: 26.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Insurance Policy Management System
## Overview
This is a simple Insurance Policy Management System built with **React** (frontend) and **Flask** (backend) using **SQLite** as the database. The system allows users to **view, add, edit, and delete** insurance policies while providing search and filter capabilities.
## Features
### Frontend (React)
- Dashboard to display a list of insurance policies
- Form to add new insurance policies
- Functionality to edit and delete existing policies
- Basic search and filter capabilities
### Backend (Flask & SQLite)
- RESTful API endpoints for CRUD operations on insurance policies
- Proper error handling and validation
- SQLite database for persistent storage
## Technologies Used
### Frontend:
- React
- React Router
- Axios (for API requests)
- Tailwind CSS (for styling)
### Backend:
- Flask
- Flask-RESTful
- SQLite
## Setup Instructions
### Prerequisites
Ensure you have the following installed:
- Node.js & npm
- Python 3 & pip
### Backend Setup
1. Navigate to backend folder
```bash
cd backend
```
2. Configure Flask Environment
```bash
python -m venv venv
source venv/bin/activate
```
3. Install the required dependencies
```bash
pip install flask flask-restful flask-sqlalchemy
```
4. Start the Flask server:
```bash
python app.py
```
### Frontend Setup
1. Clone the repository.
```bash
git clone git@github.com:SylviaT01/Insurance-Policy-Management-System.git
```
2. Install the required frontend dependencies:
```bash
npm install
```
3. Run the React development server:
```bash
npm run dev
```
## API Endpoints
| Method | Endpoint | Description |
|--------|--------------|-------------|
| GET | `/policies` | Get all policies |
| GET | `/policies/` | Get a specific policy |
| POST | `/policies` | Add a new policy |
| PUT | `/policies/` | Update a policy |
| DELETE | `/policies/` | Delete a policy |
## Future Improvements
- User authentication and role-based access
- Enhanced UI/UX with more interactive elements.
## Contributions
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.
## Author
[Sylvia Chebet](https://github.com/SylviaT01)
## License
This project is licensed under the MIT License.