Hangyul-Son / MyVisaOptions

Available visa options for your varying needs
0 stars 0 forks source link

My Visa App

My Visa App is a web application designed to assist users in finding and comparing visa options for different countries. The application uses Flask as both the frontend and backend framework, with SQLite for local development and Azure SQL Database for production. The app is deployed on Azure App Service and uses GitHub for version control.

Table of Contents

Features

Prerequisites

Installation

  1. Clone the Repository:

    git clone <your-github-repo-url>
    cd my-visa-app
  2. Set Up Virtual Environment:

    python -m venv venv
  3. Activate Virtual Environment:

    • PowerShell:
      Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
      .\venv\Scripts\Activate.ps1
    • Command Prompt:
      venv\Scripts\activate.bat
  4. Install Required Packages:

    pip install -r requirements.txt

Running the Application

  1. Configure the Database:

    • For local development, SQLite is used. The configuration is set in config.py.
  2. Run the Flask Application:

    python run.py
  3. Access the Application:

    • Open your browser and navigate to http://127.0.0.1:5000.

Contributing

  1. Fork the Repository:

    • Click on the "Fork" button on the top right corner of the repository page on GitHub.
  2. Clone Your Fork:

    git clone <your-fork-url>
    cd my-visa-app
  3. Create a Branch:

    git checkout -b my-new-feature
  4. Make Changes and Commit:

    git add .
    git commit -m "Add new feature"
  5. Push Changes to Your Fork:

    git push origin my-new-feature
  6. Submit a Pull Request:

    • Go to the original repository on GitHub and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


By following this guide, you can set up a robust development and production environment for your Flask application using Azure services and GitHub. This setup ensures scalability, maintainability, and a smooth development experience.