UAT Web App is a Flask web application that includes the following features:
- UAT Sorting Tool: A tool for sorting and managing UAT data.
- UAT Alphabetical Browser: A browser for navigating UAT data alphabetically.
- UAT Hierarchical Browser: A browser for navigating UAT data hierarchically.
- Search the UAT: A search functionality for querying UAT data.
- Python 3.9 or higher
- Node.js and npm
- Docker
-
Clone the repository to an app directory:
git clone https://github.com/astrothesaurus/uat-web-app.git /app
-
Install Python dependencies:
pip install -r requirements.txt
-
Install JavaScript dependencies:
npm install
-
Create a local
static/setup.txtfile:- Use
setup.txt.exampleas a template. - Place the file in the
uat-web-app/static/directory.
- Use
Using Docker:
docker compose up-
Python Unit Tests:
python -m unittest discover -s uat-web-app/tests
-
JavaScript Unit Tests:
npm test
3Playwright End-to-end Tests:
npm run test:playwrightuat-web-app/: Contains the source code for the Flask application.data_generator.py: Script for generating data.utils.py: Utility functions.tests/: Contains the Python unit tests for the application.static/: Contains the static files (CSS, JavaScript, images, UAT data).templates/: Contains the HTML templates.__tests__/: Contains JEST JavaScript tests.
package.json: Contains the JavaScript dependencies and scripts.tests/: Contains the Playwright end-to-end tests for the application.requirements.txt: Contains the Python dependencies.Dockerfileanddocker-compose.yml: Docker configuration files.
Contributions are welcome! Please open an issue or submit a pull request for any changes. For more details, refer to the CONTRIBUTING.md file (if available).
This project is licensed under the MIT License.