abubakar-shaikh-dev / flask-app-vercel-three

Home Page:https://flask-app-vercel-three.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-app-vercel

Flask Vercel

Flask application templates hosted on Vercel, included with unit testing and Python modules.

Structure πŸ“‚

flask-app-vercel
β”œβ”€β”€ .github
β”œβ”€β”€ handlers
β”œβ”€β”€ modules
β”œβ”€β”€ static
β”‚   β”œβ”€β”€ images
β”‚   β”œβ”€β”€ scripts
β”‚   └── styles
β”œβ”€β”€ templates
β”œβ”€β”€ tests
β”œβ”€β”€ .gitignore
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ app.py
β”œβ”€β”€ requirements.txt
└── vercel.json
  • .github is a folder that used to place Github related stuff, like CI pipeline.
  • handlers contain handler to handling HTTP request methods.
  • modules contain the main modules of the app.
  • static contain static files like images, CSS, and JavaScript files.
  • templates contain the file that will be rendered for display in the browser.
  • tests contain unit test of the app.
  • .gitignore is a file to exclude some folders like venv.
  • LICENSE is a file that contains the license used in this app.
  • README.md is the file you are reading now.
  • app.py is the main file of this app.
  • requirements.txt is a file that contains a list of dependencies used in this app.
  • vercel.json is a file that contains configuration and override the default behavior of Vercel.

Installation πŸ› οΈ

  • Clone the repository:
git clone https://github.com/putuwaw/flask-app-vercel.git
  • Create a virtual environment:
python -m venv venv
  • Activate virtual environment:
source venv/Scripts/activate
  • Install dependencies:
pip install -r requirements.txt
  • Run app:
python app.py
  • Run test:
pytest

About

https://flask-app-vercel-three.vercel.app

License:MIT License


Languages

Language:HTML 57.7%Language:Python 42.1%Language:CSS 0.1%Language:JavaScript 0.1%