https://github.com/sanshruthr/sap_flask_backend
Web application combining SAPUI5 frontend with Flask backend
https://github.com/sanshruthr/sap_flask_backend
backend docker dockerfile flask sap sapui5 storage
Last synced: about 2 months ago
JSON representation
Web application combining SAPUI5 frontend with Flask backend
- Host: GitHub
- URL: https://github.com/sanshruthr/sap_flask_backend
- Owner: SanshruthR
- Created: 2024-12-11T22:26:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-18T19:56:58.000Z (over 1 year ago)
- Last Synced: 2025-02-12T07:22:32.753Z (over 1 year ago)
- Topics: backend, docker, dockerfile, flask, sap, sapui5, storage
- Language: Dockerfile
- Homepage: https://dockerhost.onrender.com/5000
- Size: 54.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SAP UI5 & Flask Admin Data Manager
[]()
[]()
[]()
[]()

## Overview
Integrated web application combining SAPUI5 frontend with Flask backend for comprehensive data management and administration.
Access the image from Docker Hub
### Application Ports
- **Flask Backend**: Port 5000
- **SAPUI5 Frontend**: Port 8080
### Features
- **SAPUI5 Frontend**: Modern, responsive UI built with SAP's UI framework
- **Flask Backend**: Secure JSON file management system
- **Admin Authentication**: Role-based access control
- **Dynamic Data Editing**: Real-time JSON file manipulation
### Quick Start
1. **Pull Docker Image**:
```bash
docker pull sanshruthr/sap_flask_backend
```
2. **Run Docker Container**:
```bash
docker run --network="host" -e username=admin1 -e password=pass1 sanshruthr/sap_flask_backend
```
### Access Points
- Frontend UI: `http://localhost:8080`
- Backend Admin Panel: `http://localhost:5000`
### Admin Access
- **Username**: Configured via `username` environment variable
- **Password**: Configured via `password` environment variable
- **Access Level**:
- Full CRUD operations on JSON files
- Session-based authentication
- Role-restricted access
### SAPUI5 Features
- Model-View-Controller (MVC) architecture
- Responsive design
- Live data binding
- Mock server for development
### JSON File Management
- View JSON files
- Edit JSON content
- Add/Remove rows
- Save modifications
- Admin-only write permissions
### Environment Configuration
| Variable | Description |
|-----------|----------------------------|
| `username`| Admin login username |
| `password`| Admin login password |
### Security Features
- Secure session management
- Role-based access control
- Environment-based credential management
### Technology Stack
- Frontend: SAPUI5
- Backend: Flask (Python)
- Containerization: Docker
- Authentication: Flask-Session
### Deployment Modes
1. **Docker Containerized**
2. **Local Development**
3. **Kubernetes Cluster**
### Prerequisites
- Docker
- Web Browser
- Stable Internet Connection
### Licensing
MIT License - Open-source and free to use
### Contributing
1. Fork the repository
2. Create feature branch
3. Commit changes
4. Push to branch
5. Create pull request
### Support
Open an issue in the GitHub repository for any bugs or feature requests.