{"id":50684967,"url":"https://github.com/amitdeka/amitdeka_webtest","last_synced_at":"2026-06-08T22:02:11.922Z","repository":{"id":355199381,"uuid":"1227173917","full_name":"AmitDeka/AmitDeka_WebTest","owner":"AmitDeka","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-02T10:26:02.000Z","size":857,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-02T12:22:54.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmitDeka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-02T10:07:05.000Z","updated_at":"2026-05-02T10:26:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AmitDeka/AmitDeka_WebTest","commit_stats":null,"previous_names":["amitdeka/amitdeka_webtest"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AmitDeka/AmitDeka_WebTest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAmitDeka_WebTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAmitDeka_WebTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAmitDeka_WebTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAmitDeka_WebTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmitDeka","download_url":"https://codeload.github.com/AmitDeka/AmitDeka_WebTest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitDeka%2FAmitDeka_WebTest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34082130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-08T22:02:10.700Z","updated_at":"2026-06-08T22:02:11.917Z","avatar_url":"https://github.com/AmitDeka.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test site Flask\n\nThis site will take the user input in the form page and it will show the data in the success page after validation.\n\n## Architecture Overview\n\n#### WordPress\nWordPress is a CMS architecture built on PHP and MySQL. It comes with a pre-built database schema, admin dashboard, and plugin system designed primarily for content management and rapid site deployment.\n\n#### Flask\nFlask follows a micro-framework architecture built on Python. It is provids only the essentials (routing and requests) while allowing developers to custom-build the application and integrate any database or library.\n\n\n### Overall structure\nWordPress is strictly optimized for managing content like posts, pages, and metadatas. It is built specifically for MySQL or MariaDB. While Flask can connect to SQLite, PostgreSQL, MySQL, or NoSQL (like MongoDB).\n\n## WordPress Design Decisions\n\n### Layout Structure\nWordPress layouts are structured into reusable components—typically a header, footer, and sidebar. WordPress uses a strict Template hierarchy.The design decision is to automatically load specific files based on the content type being viewed, ensuring a consistent layout structure across the site without manual routing.\n\n### Reusability\nWordPress uses a modular approach where common layout elements are stored in separate files.Nowadays WordPress, the Synced Patterns (formerly Reusable Blocks) system allows users to create a specific layout section such as \n- a call-to-action\n- a team bio \nand use it across multiple pages.\n\n## Application Implementation\n\n### Form modification\nI added the radio field, Date field and file upload field in the existing form with data validations.  When user will submit the data server will again validate the data and all the responses will be shown on the ```success.html``` page.\n\n### Validation Logic\n- No data will be submitted untill the user fills all the input fields\n- The email field only accepts ```@gauhati.ac.in``` as email domain.\n- Input Date must be in past.\n- In the file upload user can only submit PDFs or Images\n\n### UI improvements\nIntegrated Bootstrap CSS along with custom css to make the UI look better. Added Navbar and footer using Bootstrap templates.\n\n## Security Considerations\n### Input validation risk\nWith input validation user can input malicious code and make the website vulnerable to XSS Attacks. \n### File Upload risk\nUploading any file without filetype checks can lead to hacks and it can take much bandwidth and server storage if the filesize heavy.\n\n\n\n----------\n----------\n\n# PART B\n\n#### Q4\nans. to\n\n- a. I will the allow both the pluging untill I test the plugin, if its breaking the UI or not. If its okay then i will allow only the Page builder plugin which may help the departments admin. But a heavy animation plugin may break the page loading time which may effect the users with low speed internet.\n\n- b. Installing page builder without on the website upon the existing builder , it may break the CSS of existing pages. For the animation plugin, it may make the website beutifull but it will also increase the page loading time , which i will effect the UX.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitdeka%2Famitdeka_webtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitdeka%2Famitdeka_webtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitdeka%2Famitdeka_webtest/lists"}