Project Description: A comprehensive Flask-based CRUD application for managing student records with enhanced security, validation, and professional UI design.
- User authentication system with admin controls
- Comprehensive student information management
- Dual validation (client-side and server-side)
- Responsive design with Bootstrap 3.5
- SQLite database with SQLAlchemy ORM
- Docker containerization for easy deployment
- Docker installed on your system
- WSL 2 (for Windows users)
- Python 3.11+ (if running without Docker)
-
Navigate to project directory: cd /path/to/FlaskApp
-
Build the Docker image: docker build -t student-db .
-
Run the container with port mapping: docker run -p 5000:5000 student-db
-
Access the application:
- Open web browser and navigate to http://localhost:5000
- Register admin account and start managing student records
- Stop the container: Ctrl+C in terminal
- Run in background: docker run -d -p 5000:5000 student-db
- View running containers: docker ps
- Stop background container: docker stop <container_id>
-
Install dependencies: pip install -r requirements.txt
-
Run the application: python app.py
- app.py - Main application file with routes and security
- forms.py - WTForms implementation for data validation
- templates/ - HTML templates with Bootstrap styling
- static/ - CSS and JavaScript files
- requirements.txt - Python dependencies
- Create admin account through registration page
- Use secure credentials for production deployment