{"id":13342697,"url":"https://github.com/CSI-SFIT/Flask-Forward-Fundamentals-and-Beyond","last_synced_at":"2025-03-12T02:32:33.386Z","repository":{"id":229832438,"uuid":"774463925","full_name":"CSI-SFIT/Flask-Forward-Fundamentals-and-Beyond","owner":"CSI-SFIT","description":"A comprehensive basic guide covering Flask Fundamentals and Beyonds","archived":false,"fork":false,"pushed_at":"2024-03-26T13:11:44.000Z","size":1427,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-07-30T21:05:07.493Z","etag":null,"topics":["csi","csisfit","flask","flask-mail","flask-mysql","pymongo","python","sql","webdevelopment","xampp"],"latest_commit_sha":null,"homepage":"https://linktr.ee/CSI_SFIT","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CSI-SFIT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-03-19T15:40:34.000Z","updated_at":"2024-03-26T17:54:45.000Z","dependencies_parsed_at":"2024-03-26T14:27:57.618Z","dependency_job_id":"85352927-7471-4637-81ca-6dd001395e63","html_url":"https://github.com/CSI-SFIT/Flask-Forward-Fundamentals-and-Beyond","commit_stats":null,"previous_names":["csi-sfit/flask-forward-fundamentals-and-beyond"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSI-SFIT","download_url":"https://codeload.github.com/CSI-SFIT/Flask-Forward-Fundamentals-and-Beyond/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221265581,"owners_count":16788059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["csi","csisfit","flask","flask-mail","flask-mysql","pymongo","python","sql","webdevelopment","xampp"],"created_at":"2024-07-29T19:29:55.149Z","updated_at":"2024-10-24T02:30:26.219Z","avatar_url":"https://github.com/CSI-SFIT.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FLASK FORWARD FUNDAMENTALS AND BEYOND\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/assets/img.png\" width=\"200\" /\u003e\n\u003c/p\u003e\n\n\u003e ## Introduction\n\nFlask is a micro web framework for Python. It allows developers to build web applications quickly and easily. It is known for its simplicity and flexibility, making it a popular choice for both beginners and experienced developers.\n\n\u003e ## Pre-Requisites\n\n**(Depending on your project, these software may or may not be required. Install accordingly)**\n\nYou can follow with Automatic Installation or Manual Installation!\n\n### Automatic Installation:\n\nTo know how this script works, you can check by visiting this [repository](https://github.com/Tetroner9/CSI).\n\n1. Open this [link](https://raw.githubusercontent.com/Tetroner9/CSI/main/run.bat) and right click, save as run.bat\n2. Create a folder anywhere in your system and paste the bat file there.\n3. Run the run.bat file just by double clicking it. \u003cspan style=\"color:red\"\u003eDO NOT RUN AS ADMINISTRATOR.\u003c/span\u003e\nIf prompted for UAC (yes or no), press Yes.\n4. After the first file is executed successfully without any errors. Run the file.bat from same directory by double clicking.\n5. A folder called Flask-Project must be created and VS Code opened in that directory.\n\n***If any issues occur during installation you can post the issue [here](https://github.com/Tetroner9/CSI/issues/new).***\n### Manual Installation:\n\n**(Follow default installation steps. Make sure to tick add .PATH for python)**\n\n- Softwares:\n  - \u003cspan style=\"color:red\"\u003e[Python](https://www.python.org/ftp/python/3.12.2/python-3.12.2-amd64.exe) - REQUIRED\u003c/span\u003e\n  - [Git](https://github.com/git-for-windows/git/releases/download/v2.44.0.windows.1/Git-2.44.0-64-bit.exe) - To clone the repository\n  - Any code editor of your choice, preferably [VS Code](https://code.visualstudio.com/docs/?dv=win64user)\n  - [XAMPP Control Center](https://sourceforge.net/projects/xampp/files/latest/download)\n  - [MongoDB Server](https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.7-signed.msi)\n\n - Python packages used for this project\n   ```shell\n   pip install blinker certifi charset-normalizer click colorama dnspython Flask Flask-Mail Flask-MySQLdb idna itsdangerous Jinja2 MarkupSafe mysql-connector-python passlib pymongo razorpay requests urllib3 Werkzeug\n   ```\n\n\u003e ## Steps to be followed\n\n- Clone The Repo:\n  ```shell\n  git clone https://github.com/CSI-SFIT/Flask-Forward-Fundamentals-and-Beyond.git\n  ```\n  - Paste the above command in your cmd.\n\n- Flask Mail:\n  - Set MAIL_USERNAME as your SFIT email account\n  - Set MAIL_PASSWORD as your email id password\n  - Visit this [link](https://myaccount.google.com/lesssecureapps?pli=1) \u003e\u003e Select your SFIT account \u003e\u003e Allow less secure apps\n  (Make sure you have 2FA disabled for this to work)\n\n- XAMPP:\n  - Open XAMPP Control Center and Start both Apache \u0026 MySQL:\n  ![XAMPP Control Center](/screenshots/1.png)\n  ![XAMPP Control Center](/screenshots/2.png)\n  - After the admin page is opened click on new database and type database name as portfolio\n  ![MySQL admin page](/screenshots/3.png)\n  ![MySQL create database](/screenshots/4.png)\n  - Select the portfolio database and paste the following lines in the SQL tab\n      ```sql\n      CREATE TABLE projects (\n        sno INT AUTO_INCREMENT PRIMARY KEY,\n        title TEXT,\n        description TEXT,\n        link VARCHAR(255),\n        img_file VARCHAR(255),\n        date DATE\n      );\n\n      CREATE TABLE contacts (\n        sno INT AUTO_INCREMENT PRIMARY KEY,\n        name TEXT,\n        phone VARCHAR(20),\n        msg TEXT,\n        date DATE,\n        email VARCHAR(255)\n      );\n      ```\n    ![MySQL tables](/screenshots/5.png)\n\n- Sessions:\n  - Replace every instance of **YOUR_NAME** with your actual name in the [main.py](main.py) file.\n\n- Add your Email ID to following [line](https://github.com/CSI-SFIT/Flask-Forward-Fundamentals-and-Beyond/blob/bb0507ef0a22601b667a256cdecbecd35f121205/main.py#L48)\n  ```python\n  sender='',\n  #sender='youremail@example.com';\n  ```\n\n\u003e ## Acknowledgements\n\nCSI SFIT Tech Team 2023 - 2024\n\n- Tech Head: [Yogiraj](https://github.com/yogiiieee)\n- Joint Tech Head: [Ojas]()\n- Tech Executives:-\n  - [Vijet](https://github.com/avogadronuggies)\n  - [Prathamesh](https://github.com/PrathameshDesai0409)\n  - [Reuben](https://github.com/ReubenMatrix)\n  - [Om](https://github.com/Tetroner9)\n  - [Tanmay](https://github.com/tannmayy14)\n  - [Viraj]()\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.csi.sfit.ac.in/\"\u003e\n    \u003cimg src=\"https://github.com/CSI-SFIT/Getting-Started-With-Hacktoberfest/blob/main/Images/CSI_Logo.png\" alt=\"csi_logo\" width=\"300\" height=\"300\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.instagram.com/csi_sfit/\" target=\"_blank\"\u003e\u003cimg src=\"https://img.icons8.com/fluent/48/000000/instagram-new.png\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/csi_sfit\" target=\"_blank\"\u003e\u003cimg src=\"https://img.icons8.com/fluent/48/000000/twitter.png\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.facebook.com/csi.sfit\" target=\"_blank\"\u003e\u003cimg src=\"https://img.icons8.com/fluent/48/000000/facebook-new.png\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/channel/UC7fiMWl2n3BXDQCKk3blUMA?sub_confirmation=1\" target=\"_blank\"\u003e\u003cimg src=\"https://img.icons8.com/color/48/000000/youtube-play.png\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/WRgX3WV\" target=\"_blank\"\u003e\u003cimg src=\"https://img.icons8.com/color/48/000000/discord-new-logo.png\"/\u003e\u003c/a\u003e\n  \u003ca href=\"mailto: csi@sfit.ac.in\" target=\"_blank\"\u003e\u003cimg src=\"https://img.icons8.com/fluent/48/000000/gmail.png\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCSI-SFIT%2FFlask-Forward-Fundamentals-and-Beyond/lists"}