This project aims to digitize institutional workflows at JNU Jaipur, replacing outdated paper-based approvals with a transparent, efficient digital system (referencing Section 3.2 of the project synopsis). This Phase 2 repository implements the core Event Submission Interface and the basic workflow logic, serving as the foundational module of the platform.
This repository specifically contains the Basic Event Submission Workflow. It includes:
Follow these step-by-step instructions to set up the project locally:
git clone https://github.com/CyberSential22/epas-phase-2.git
cd epas-phase-2
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
.env file in the root directory and add the following:
SECRET_KEY=your_secret_key
FLASK_ENV=development
python run.py
The application will be accessible at http://127.0.0.1:5000/.
epas-phase-2/
├── app/
│ ├── blueprints/ # Application modules (main, events)
│ ├── forms/ # WTForms definitions
│ ├── models/ # SQLAlchemy database models
│ ├── routes/ # Blueprint routing
│ ├── static/ # CSS, JS, Images
│ ├── templates/ # Jinja2 HTML templates
│ ├── utils/ # Helper functions (e.g., ip_utils)
│ ├── config.py # App configurations
│ ├── errors.py # Global error handlers
│ └── __init__.py # App factory function
├── instance/ # Local database files
├── logs/ # Application logs
├── venv/ # Python virtual environment
├── .gitignore # Untracked files configuration
├── requirements.txt # Project dependencies
├── run.py # Entry point for the application
└── vercel.json # Vercel proxy configuration
The final production architecture is designed to be highly accessible and resilient:
This project is licensed under the MIT License.