Skip to content

faisalalisayyed/PubApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Public API's website using flask and API

About Flask

  • Flask is a lightweight and flexible web framework for Python.
  • It follows the WSGI standard and is compatible with various web servers.
  • Flask's modular design allows for easy integration of extensions to enhance functionality.

Installation

git clone https://github.com/C0DE-SLAYER/PubApi
cd PubApi
pip install -r requirement.txt
python run.py

Usage/Examples

  1. Open a terminal and type for linux/mac export FLASK_APP=PubApi and for windows type set FLASK_APP=PubApi
  2. Then type flask shell and type db.create_all() to create the db file use for the project
  3. Once you have install all the requirement using pip and create the db. Run the app using python run.py
  4. Now Head to your browser and type http://127.0.0.1:5000/
  5. Demo/Example : demo_1 demo_2 demo_3

License

MIT