Public API's website using flask and API
- 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.
git clone https://github.com/C0DE-SLAYER/PubApi
cd PubApi
pip install -r requirement.txt
python run.py
- Open a terminal and type for linux/mac
export FLASK_APP=PubApi
and for windows typeset FLASK_APP=PubApi
- Then type
flask shell
and typedb.create_all()
to create the db file use for the project - Once you have install all the requirement using pip and create the db. Run the app using
python run.py
- Now Head to your browser and type http://127.0.0.1:5000/
- Demo/Example :